Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 956 Bytes

unbindobject.adoc

File metadata and controls

37 lines (29 loc) · 956 Bytes

UnbindObject()

Important

Deprecated in 3.0.

Please use unbind() and unbindFrom() methods of NetObj class instead.

Note
This function is enabled by default, but can be disabled by setting configuration parameter "NXSL.EnableContainerFunctions".
UnbindObject(parent, child) => void

Remove (unbind) object from a container.

Table 1. Parameters

parent

Parent object ([class-netobj] referring to container object or infrastructure service root).

child

The NetXMS object to be unlinked from given parent object ([class-node] or [class-netobj] referring to node, subnet, container, or cluster).

Return

None.

Example
UnbindObject(FindObject("Services"), FindObject("Service_1"));    // Unlink object named "Service_1" from container "Services"