GetClassProperty


The getProperty CIM operation retrieves a single property value from a CIM Instance.

NameSpace         String that defines the target namespace. See NameSpace Operations for more information

InstanceName    Defines the Name of the instance whose property value is to be retrieved. See Enumerate Instance Names for instance names for a class

PropertyName     Name of the property whose value is to be retrieved.

                


Return Results

If successful, the return value specifies the value of the requested CIMProperty. If the value is NULL then no element is returned. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.


Additional Description of the Operation

This operation is used to retrieve a single property value from a CIM Instance in the target Namespace. 

 NameSpace   - The NameSpace parameter is a string that defines the target namespace \Ref{NAMESPACE} 

InstanceName - The InstanceName input parameter specifies the name of the Instance (model path) from which the CIMProperty value is requested. \\Ref{INSTANCENAME

PropertyName -  The PropertyName input parameter specifies the name of the CIMProperty whose value is to be returned. 


Pegasus API in Operations.h

    virtual CIMValue getProperty(
    	const String& nameSpace,
    	const CIMReference& instanceName,
    	const String& propertyName) = 0;
    

Demonstration Prepared by the OpenGroup Manageability Work Group Pegasus Development Team

See (http://www.opengroup.org/management) for more information on Pegasus

Last Modified Friday, June 29, 2001 06:45:16 PM       Copyright @ The Open Group 2001