Properties – Echelon OpenLNS User Manual
Page 578
OpenLNS Programmer's Reference
541
identify the network to be deleted by
its name, which is stored in the
Name
property of the
collection.
databaseOption Determines whether the network
database is preserved or deleted.
The possible values for this element,
which are contained in the
ConstNetworkRemovalFlags
constant,
are as follows:
1 lcaNetworkRemovalFlagLeaveFiles
Removes the entry for the selected
network from the local Networks
collection, but leave the network
database files intact. This enables you
to restore the network later, without
having to re-create the network
database.
You can do so by calling the Add
method on the network, with the
createDatabase flag set to False to
re-add the network, and the
databasePath parameter set to point to
the saved database. This may be
useful in a system with a large number
of networks, if you want to minimize
the number of entries in the local
Networks collection.
2
lcaNetworkRemovalFlagLeaveRegistry
Removes the entry for the selected
network from the local Networks
collection, but leaves the registry
entries associated with the network
database intact.
Note: You can also specify 0 for this
element to delete the network
database, and all of its files and
registry entries. In this case, the
RemoveEx method works exactly as
the deprecated Remove method.
Added to API
LNS Release 3.20.
Properties
The Networks object contains the following properties
:
•