CreateContainer()
| This function is enabled by default, but can be disabled by setting configuration parameter "NXSL.EnableContainerFunctions". |
CreateContainer(parent, name) => Container
Create new container under parent object with desired name.
parent |
Parent object (NetObj referring to container, collector, or infrastructure service root). Other object types cause a runtime error. |
name |
Name of the container to create |
Return
Instance of newly created Container object or null if failed (including missing create access to the parent).
If the new object cannot be linked to the parent, it is deleted and null
is returned.