Number, Parent – Echelon OpenLNS User Manual

Page 338

Advertising
background image

OpenLNS Programmer's Reference

301

Syntax

errorId = errorObject.ErrorObjHandle

Element

Description

errorObject

The

Error

object to be acted on.

errorId

A short which indicates the handle of the

object that caused the error. The class of

object which raised the error is contained

in the

ErrObjClassId

property.

Data Type

Short.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Number

Summary

Returns the LNS error number of the error represented by

the Error object.

Availability

Local, full, and lightweight clients.

Syntax

errorValue = errorObject.Number

Element

Description

errorValue

The error number to be returned.
The values that can be returned by this

property are stored in the

ConstErrors

constant.

For descriptions of these

errors, see Object Server Errors.

errObject

The

Error

object to be acted on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Parent

Summary

Returns the object that spawned the current child object. The

parent object is determined by the means in which a child

object is accessed, not by the OpenLNS Object hierarchy.

Availability

Local, full, lightweight, and independent clients. Note that

some collection objects are not available to Independent

clients.

Syntax

parentObject = object.Parent

Element

Description

parentObject

The object that is the parent of the

specified object.

object

Any object for which the parent is

desired.

Advertising