beautypg.com

Remove – Echelon OpenLNS User Manual

Page 516

background image

OpenLNS Programmer's Reference

479

lcaMgmtModeDeferConfigUpdates (1), you must change

the management mode to

lcaMgmtModePropagateConfigUpdates (0) before

opening the monitor set. You can do so by setting the

MgmtMode property of the System

object to

lcaMgmtModePropagateConfigUpdates (0).
You can access the MonitorSets collection through the MyVNI

and CurrentMonitorSets properties of the Network object.

You should use the MyVNI

property when you are going to

add new MonitorSet objects to the collection. For more

information, see the MonitorSet object.

Note: You can create

MonitorSet

objects while running in

engineered mode, but you cannot open them. If you attempt

to do so, the LCA, #143

lcaErrNotAllowedWithoutNetworkInterface exceptions

will be thrown.

Availability

Local, full, lightweight, and independent clients.

Syntax

monSetObject = monSetColl.Add monSetName

Element

Description

monSetObject The newly defined

MonitorSet

object.

monSetColl

The

MonitorSets

collection object to be

acted upon.

monSetName

The

Name

of the new

MonitorSet

object.

Added to API

LNS Release 3.0.

Remove

Summary

Removes a

MonitorSet

object from the collection.

This method can only be called when connected to the

network database

(after the Network object's Open method

has been called)

.

This method only affects

MonitorSet

objects that were

created as permanent

MonitorSet

objects becuase OpenLNS

deletes temporary

MonitorSet

objects automatically as soon

as the client session in which they were created ends. See the

MonitorSet

object for more information on the differences

between temporary and permanent

MonitorSet

objects.

Availability

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

temporary

MonitorSet

objects, and temporary monitor points,

are not available on Independent clients.

Syntax

monSetColl.Remove indexName

Element

Description

monSetColl

The

MonitorSets

collection object to be

acted upon.

indexName

A Long value specifying the collection