beautypg.com

Maxdeficitcredits (deprecated), Usedcredits (deprecated), Databasevalidationreport – Echelon OpenLNS User Manual

Page 238: Datapoint, Datapoint f, Datapoint to

background image

OpenLNS Programmer's Reference

201

MaxDeficitCredits (Deprecated)

Summary

Returns 0.
Note: In previous LNS releases, this property indicted the

the maximum number of deficit credits.

Availability

Local, full, and lightweight clients.

Syntax

maxValue = object.MaxDeficitCredits

Element

Description

maxValue

The maximum number of deficit credits,

which is always 0.

creditObject

The CreditInfo object to be acted on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

UsedCredits (Deprecated)

Summary

Returns the number of devices defined, excluding NSDs and

routers.
Note: In previous LNS releases, this property indicted the

the number of credits used.

Availability

Local, full, and lightweight clients.

Syntax

maxValue = object.MaxDeficitCredits

Element

Description

usedValue

The number of of devices defined,

excluding NSDs and routers.

creditObject

The CreditInfo object to be acted on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

DatabaseValidationReport

The DatabaseValidationReport object is returned after a database validation has been

completed, and it contains information summarizing the results of the database validation.

You can initiate a database validation on a network by calling the

Validate

method of the

Network

object.

If the database passed the validation, no errors or inconsistencies were discovered during

the procedure, or OpenLNS was able to repair all the errors it discovered. In this case,

the PassedValidation property will be set to True.

If the database does not pass the validation, then some errors still exist in the database

after the validation. In this case, the PassedValidation property will be set to False.