Unrepairederrors, Databasevalidationerrorinstance – Echelon OpenLNS User Manual
Page 244
OpenLNS Programmer's Reference
207
UnrepairedErrors
Summary
Contains the number of errors discovered during the database
validation that were not repaired by OpenLNS. This includes
all errors OpenLNS did not attempt to repair, and all errors
OpenLNS was not able to repair.
You can initiate a database validation on a network by calling
method on the
Network
object. To have LNS
attempt to repair the errors it discovers during the validation,
select lcaDbValidateAndRepair (1) as the validationFlags
You can determine the number of errors that were repaired
during the validation by reading the RepairedErrors property.
Availability
Local clients.
Syntax
repairedCount = validationReport.
Element
Description
repairedCount
The number of errors discovered
during the database validation that
were not repaired.
validationReport
object to be acted upon.
Data Type
Integer
.
Read/Write
Read only.
Added to API
LNS Release 3.20.
DatabaseValidationErrorInstance
The DatabaseValidationErrorInstance object is returned by the
DatabaseValidationErrorSummary
object. It contains information indicating whether
OpenLNS was able to repair a specific error during a database validation. The returned
DatabaseValidationErrorInstance
object also enables you to identify the object that caused
the error, including the class, internal ID, and name of the object, as well as its parent
object.
You can validate a database by calling the
method on the
Network
object. The
database validation generates a
DatabaseValidationErrorSummaries
object, which contains a collection of
DatabaseValidationErrorSummary
DatabaseValidationErrorSummary object
contains information about
a specific error type that was encountered during the database
validation. This information includes includes the number of times the error type was
encountered, whether OpenLNS can repair the error, and whether OpenLNS attempted to
property of the
DatabaseValidationErrorSummary object
is set
method to access specific details about each instance of
the error type summarized by this object.
The following table summarizes the DatabaseValidationErrorSummary
object.