Objectinternalid, Objectname – Echelon OpenLNS User Manual

Page 250

Advertising
background image

OpenLNS Programmer's Reference

213

ObjectInternalId

Summary

Indicates the internal ID of the object that caused the error,

which is referenced by this

DatabaseValidationErrorInstance

object.
For example, if the error type is

lcaDbValidationErrorMissingLMO, this property would

contain the internal ID of the missing LonMarkObject

.

Availability

Local clients.

Syntax

internalId = errorInstance.

ObjectInternalId

Element

Description

internalId

The internal ID of the object that

caused the error.

errorInstance

The

DatabaseValidationErrorInstance

object being acted upon.

Data Type

Integer

.

Read/Write

Read only.

Added to API

LNS Release 3.20.

ObjectName

Summary

Indicates the name of the object that caused the error, which

is referenced by this

DatabaseValidationErrorInstance

object.

For example, if the error type is

lcaDbValidationErrorMissingNV, this property would

contain the name of the missing NetworkVariable object.
You can determine the type of error referenced by this object

by reading the ErrorType

property.

Availability

Local clients.

Syntax

name = errorInstance.

ObjectName

Element

Description

name

The name 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.

Advertising