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