Difference between revisions of "NXSL:CreateContainer"

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



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)

Create container object.

Since: 1.2.0

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"