Rename Switch
This Automation Manager object renames a virtual switch.
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Name | String | Yes | Specifies the virtual switch to be renamed. |
New Name | String | Yes | Specifies the name to which the virtual switch is to be renamed. |
Output Parameters
Name | Type | Description |
---|---|---|
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Name | String | Yes | Switch1 |
New Name | String | Yes | OLDSwitch1 |