Parentobjectname, Repairable, Parentobjectname p – Echelon OpenLNS User Manual
Page 254
OpenLNS Programmer's Reference
217
ParentObjectName
Summary
Indicates the name of the parent of the object that caused the
error, which is referenced by this
DatabaseValidationErrorInstance
For example, if the error type is
lcaDbValidationErrorMissingNv, this property would
contain the name of the parent object of the missing
NetworkVariable object (the name of the object the missing
NetworkVariable object should be accessed through).
You can determine the type of error referenced by the
DatabaseValidationErrorInstance object by reading the
ErrorType property.
You can determine the name of the parent of the object that
caused the error by reading the ParentObjectName property.
If the object associated with the error does not have a parent
object (the error type is
lcaDbValidationErrorOrphanObject or
lcaDbValidationErrorOrphanDevice), this property will
contain an empty string.
Availability
Local clients.
Syntax
parentName = errorInstance.
Element
Description
parentName
The name of the parent of the
object that caused the error.
errorInstance
The
DatabaseValidationErrorInstance
object being acted upon.
Data Type
String
.
Read/Write
Read only.
Added to API
LNS Release 3.20.
Repairable
Summary
Indicates whether OpenLNS can repair errors of this type as
part of the database validation procedure.
Availability
Local clients.