beautypg.com

Repairattempted, Repaired – Echelon OpenLNS User Manual

Page 256

background image

OpenLNS Programmer's Reference

219

RepairAttempted

Summary

Indicates whether

OpenLNS attempted to repair errors of this

type during the validation.

If you call the Validate method to initiate a database validation

procedure and set the validationFlags element to

lcaDbValidateAndRepair (1), OpenLNS will attempt to

repair some errors it finds automatically. LNS may not be able

to repair all error types or all the specific instances of an error

type it encounters during the validation. You can use this

property to determine whether OpenLNS attempted to repair a

specific error or a specific error type.
You can determine if OpenLNS was able to repair a specific

instance of an error by reading the Repaired property of the

error’s DatabaseSummaryErrorInstance object.

Availability

Local clients.

Syntax

repairAttempted = errorReport.

RepairAttempted

Element

Description

errorReport

The

DatabaseValidationErrorInstance

object being acted upon.

repairAttempted

A Boolean value indicating whether

OpenLNS attempted to repair errors

of this type during the validation

.

TRUE. OpenLNS attempted to

repair errors of this type

during the validation.

FALSE. OpenLNS did not attempt

to repair errors of this type

during the validation.

Data Type

Boolean

.

Read/Write

Read only.

Added to API

LNS Release 3.20.

Repaired

Summary

Indicates whether LNS

repaired the error referenced by this

DatabaseValidationErrorInstance

object, and the action taken

by OpenLNS to make the repair

.

Availability

Local clients.