ManageObject()

Deprecated in 3.0.

Please use manage() method of NetObj class.

ManageObject(object): bool

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

Table 1. Parameters

object

NetXMS object to be modified. Can be NXSL class NetObj or any inherited for it. Reference to object can be obtained using FindObject function.

Return

true if the object was set to managed state, false if the script lacks modify access to the object or the management state change is not allowed (for example, for a decommissioned node).

ManageObject(FindObject(125));    // Set object with id 125 to managed state