Disconnect, Dsrestoreoptions, R disconnect – Echelon OpenLNS User Manual
Page 614: E disconnect
OpenLNS Programmer's Reference
577
connections are created or modified with this method.
Availability
Local, full, and lightweight clients.
Syntax
nvObject.
Element
Description
nvObject
object to be
connected.
Added to API
Prior to LNS Release 3.0.
Disconnect
Summary
Removes a hub or network variable's entire connection or
disconnects the network variables contained in the hub's
pending target list
.
The behavior of this method is dependent upon the state of
the hub's pending target list, which was created by the
•
If the pending target list is empty, the method
disconnects all members of the connection (all network
variables contained within the hub's NVTargets
property).
•
If elements have been added to the pending target list,
the method disconnects those particular elements and
clears the pending target list.
When all targets have been disconnected from a hub network
variable, the connection ceases to exist. The hub is
subsequently deleted from the appropriate
You can use the OnNodeConnChangeEvent to track when
connections are removed with this method.
Availability
Local, full, and lightweight clients.
Syntax
object.
Element
Description
object
object to be acted
on.
Added to API
Prior to LNS Release 3.0.
DsRestoreOptions
Summary
Restores the data server options saved in the persistent
database using the DsSaveOptions method, overwriting any
values which had been set during the current session.
Options that were modified by this method will not take
affect until the data server is paused and restarted, although
they can be read by fetching the appropriate property.
This method will restore all NetworkVariable data server