PropertyClass - addNewValuesToIntegerEnumProperty
PropertyClass - addNewValuesToIntegerEnumProperty
Description :
This command adds new values to an integer enumeration property in a specified class. If this property does not exist, the command fails.
Property names or values with spaces must be wrapped with quotes and escaped with a backslash, using a format like "\"prop name1\"".
Return type : void
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
fullyQualifiedClassName | String | Fully qualified name of the class to which you want to add a property. |
propertyName | String | Name of the property. |
enumDataNames | String | Names of the enumeration data. |
enumDataValues | String | Values of the enumeration data. |
Example
The following example adds a list of names/values to an integer enumeration property named PROP_1 in the Apache class.
Script
PropertyClass addNewValuesToIntegerEnumProperty Class://SystemObject/Apache PROP_1 "ccc,\"d d d\"" "333,444"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*