Objectclassinvolved – Echelon OpenLNS User Manual

Page 249

Advertising
background image

OpenLNS Programmer's Reference

212

Integrity

This is an internal error.
132 lcaDbValidationErrorNssLink

Integrity
This is an internal error.

validationObjec

t

The DatabaseValidationErrorInstance object being

acted upon.

Data Type

Long

.

Read/Writ

e

Read only.

Added to

API

LNS Release 3.20.

ObjectClassInvolved

Summary

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

which is referenced by this

DatabaseValidationErrorInstance

object.

For example, if the error type is

lcaDbValidationErrorOrphanObject, this property

indicates the class ID of the orphan object that was

discovered.
The values returned by this property map to the values of the

ConstClassIds constant; therefore you can use the

ConstClassIds constant to determine the object type the class

ID applies to. For example, if this property returns 7, the

object is an AppDevice object. See the ComponentClassID

property of the ComponentApp

object for a list of the class

IDs.
You can determine the name of the object that caused the

error by reading the ObjectName property.

Availability

Local clients.

Syntax

classID = errorInstance.

ObjectClassInvolved

Element

Description

classID

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

Advertising