GetProperty() Intrinsic methods ModifyInstance()

You can use the GetProperty() method to retrieve the whole instance and return one specific property from this instance.

Parameters

Table 222 shows the parameters you can specify for the GetProperty() method:

Table 222. GetProperty() parameters
Parameter Type Description
InstanceName String Defines the name of the instance
Property String The name of the property whose value is to be returned from the instance
Return values

The GetProperty() method returns the specified property of the target instance or one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004