Difference between revisions of "NXSL:BindObject"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Bind all NetXMS objects that can be bound from console (nodes, subnets, clusters, and another containers) to another NetXMS objects. == Syntax == BindObject(''id'...")
(No difference)

Revision as of 08:02, 26 April 2012

Bind all NetXMS objects that can be bound from console (nodes, subnets, clusters, and another containers) to another NetXMS objects.


Syntax

BindObject(id, objectbinded);


Parameters

id ID or name of the object to bind.
object The NetXMS object to be linked to ID object.


Return Value

Reference to newly binded object.


Examples

BindObject(FindObject(2), FindDCIByName($node, "Services.DataCenter1.CPD")); // Link "Services.DataCenter1.CPD" object directly to "Infrastructure Services"