Template - clearEnumPropertyNameValues
Template - clearEnumPropertyNameValues
Description :
This command clears all name/value pairs from a local property of an enumerated type in a specified Component Template. If such a property does not exist, the command fails.
Return type : void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
templateName | String | Name of the Component Template. |
groupName | String | Name of the group that contains the Component Template. |
propertyName | String | Name of the property. |
force | Boolean | True if you want to deprecate legal values if they are in use. |
Example
The following example clears all name/value pairs from a local property of an enumerated type called PROP1 in the Component Template Apache in the folder /Applications/WebServers/Unix.
Script
Template clearEnumPropertyNameValues Apache /Applications/WebServers/Unix PROP_1 true
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*