PropertyClass - isPropertyClassInstanceDefined


PropertyClass - isPropertyClassInstanceDefined

Description :

This command checks a class to see if it has a specific instance. It returns true if the class has an instance with the given name.

Return type : Boolean

Command Input :

Variable Name

Variable Type

Description

fullyQualifiedClassName

String

Name of the class.

instanceName

String

Name of the instance.

Example

The following example checks to see if the Server class has an instance called localhost.

Script


PropertyClass isPropertyClassInstanceDefined Class://SystemObject/Server localhost

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.7