PropertyClass - isPropertyDefined
PropertyClass - isPropertyDefined
Description :
This command checks a class to see if it has a specific property. It returns true if the class has a property with the given name.
Return type : Boolean
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
fullyQualifiedClassName | String | Name of the class. |
propertyName | String | Name of the property. |
Example
The following example attempts to see if the Server class has a property called OS.
Script
PropertyClass isPropertyDefined Class://SystemObject/Server OS
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*