Difference between revisions of "NXSL:CreateContainer"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Create container object. == Syntax == CreateContainer(''parent'', ''name''); == Parameters == :{| |- | ''parent'' || Parent object. Can be either container or ...")
(No difference)

Revision as of 13:04, 20 April 2012

Create container object.


Syntax

CreateContainer(parent, name);


Parameters

parent Parent object. Can be either container or infrastructure services root. Reference to parent object can be obtained using FindObject function.
name Name for new container object.


Return Value

Reference to newly created object.


Examples

CreateContainer(FindObject(2), "New Container");    // Create container directly under "Infrastructure Services"