Difference between revisions of "NXSL:UnbindObject"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Remove (unbind) object from a container. == Syntax == UnbindObject(''parent'', ''child''); == Parameters == :{| |- | ''parent'' || Parent object (NXSL:NetObj|...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Remove (unbind) object from a container.
Remove (unbind) object from a container.


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 ==

Latest revision as of 16:13, 13 September 2022

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

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"