CreateContainer()

This function is enabled by default, but can be disabled by setting configuration parameter "NXSL.EnableContainerFunctions".

Deprecated in 5.0.

Please use createContainer() method of Container, Collector or ServiceRoot class instead.

CreateContainer(parent, name) => Container

Create new container under parent object with desired name.

Table 1. Parameters

parent

Parent object (NetObj referring to container object or infrastructure service root).

name

Name of the container to create

Return

Instance of newly created Container object or null if failed.