NXSL:BindObject

From NetXMS Wiki
Revision as of 10:02, 26 April 2012 by 195.53.212.35 (talk) (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'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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"