Difference between revisions of "NXSL:UnbindObject"
Jump to navigation
Jump to search
Tomas Kirnak (talk | contribs) (Created page with "__NOTOC__ Remove (unbind) object from a container. == Syntax == UnbindObject(''parent'', ''child''); == Parameters == :{| |- | ''parent'' || Parent object (NXSL:NetObj|...") |
|||
Line 13: | Line 13: | ||
| ''parent'' || Parent object ([[NXSL:NetObj|NetObj]] referring to container object or infrastructure service root). | | ''parent'' || Parent object ([[NXSL:NetObj|NetObj]] referring to container object or infrastructure service root). | ||
|- | |- | ||
| ''child'' || The NetXMS object to be unlinked from given parent object ([[NXSL:Node|Node]] or [[NXSL:NetObj|NetObj]] referring to subnet, container, or cluster). | | ''child'' || The NetXMS object to be unlinked from given parent object ([[NXSL:Node|Node]] or [[NXSL:NetObj|NetObj]] referring to node, subnet, container, or cluster). | ||
|} | |} | ||
== Return Value == | == Return Value == |
Revision as of 16:25, 22 October 2014
Remove (unbind) object from a container.
Syntax
UnbindObject(parent, child);
Parameters
parent Parent object (NetObj referring to container object or infrastructure service root). child The NetXMS object to be unlinked from given parent object (Node or NetObj referring to node, subnet, container, or cluster).
Return Value
None.
Examples
UnbindObject(FindObject("Services"), FindObject("Service_1")); // Unlink object named "Service_1" from container "Services"