PropertyClass - clearEnumPropertyValues
PropertyClass - clearEnumPropertyValues
Description :
This command clears all name/value pairs from an enumeration property of a specified class. If such a property does not exist, the command fails.
Return type : void
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
fullyQualifiedClassName | String | Fully qualified name of the class that contains the property. |
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 an enumeration property called PROP1 in the Apache class.
Script
PropertyClass clearEnumPropertyValues Class://SystemObject/Apache PROP_1
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*