This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

UnmanageObject()

Deprecated in 3.0.

Please use unmanage() method of NetObj class.

UnmanageObject(object): bool

Set object into unmanaged state. Has no effect if object is already in unmanaged state.

Table 1. Parameters

object

NetXMS object to be modified. Can be NXSL class NetObj, Node, or Interface. Reference to object can be obtained using FindObject function.

Return

true if the object was set to unmanaged state, false if the script lacks modify access to the object.

UnmanageObject(FindObject(2));    // Set "Infrastructure Services" object to unmanaged state