Difference between revisions of "NXSL:UnbindObject"

From NetXMS Wiki
Jump to navigation Jump to search
m (Text replacement - "^" to "{{deprecated}}")
 
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Remove (unbind) object from a container.
Remove (unbind) object from a container.



Latest revision as of 18: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"