NXSL:CreateNode
Revision as of 19:17, 24 May 2014 by 178.236.195.24 (talk) (Created page with "__NOTOC__ Create node object. '''Since:''' 1.2.7 == Syntax == CreateNode(''parent'', ''name'', ''primaryHostName''); == Parameters == :{| |- | ''parent'' || Parent objec...")
Create node object.
Since: 1.2.7
Syntax
CreateNode(parent, name, primaryHostName);
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 node object. primaryHostName primary host name for new node object. Must be valid IP address or resolvable host name.
Return Value
Reference to newly created object.
Examples
CreateNode(FindObject(2), "SERVER", "10.10.10.1"); // Create node directly under "Infrastructure Services"