Databasevalidationerrorsummaries – Echelon OpenLNS User Manual
Page 257
OpenLNS Programmer's Reference
220
Syntax
repaired = errorReport.
Element
Description
errorReport
The DatabaseValidationErrorInstance
object being acted upon.
repaired
This element indicates the action LNS
performed to repair the error.
The possible values that can be returned
as this element, which are contained in
the ConstDbValidationRepairLevel
constant, are as follows:
0 lcaDbValidationNotRepaired
No repair was performed on the object
that caused the error, or the repair was
not completed successfully.
1 lcaDbValidationObjectDeleted
The object causing the error was deleted.
This may be the case if there is an
orphan object in the database, or if there
is an invalid object reference in the
database.
2
lcaDbValidationObjectSetToDefaults
The object causing the error was deleted,
and then re-created with default values.
This may be the case if the error was
caused by a NetworkVariable,
ConfigProperty, or LonMarkObject object.
3
lcaDbValidationObjectFullyRepaire
d
The object causing the error was
completely repaired, with no loss of data.
This may be the case if the error was
caused by a bad link between two objects
in the database.
Data Type
Long
.
Read/Write
Read only.
Added to API
LNS Release 3.20.
DatabaseValidationErrorSummaries
The DatabaseValidationErrorSummaries
property contains a collection of
DatabaseValidationErrorSummary
DatabaseValidationErrorSummary