CMCIClientFT.getProperty - Man Page
Get a named property value of an instance
Synopsis
#include <cmci.h> CMPIData CMCIClientFT.getProperty(CMCIClient*cl, CMPIObjectPath*op, constchar*name, CMPIStatus*rc);
Description
Get the named property value of an instance identified by reference op.
Arguments are the client object pointer cl, an ObjectPath object pointer op with the namespace and classname to identify the instance, a pointer to a string with the property name to get in name, and rc which returns the operation status (suppressed when NULL).
Return Value
When successful the CMCIClientFT.getProperty() function returns a CMPIData object with the instance property value and sets a successful operation status code in rc. When unsuccessful it returns the CMPIStatus object with sets an operation status error code and corresponding error string.
Errors
Examples
Conforming to
See Also
Common Manageability Programming Interface (CMPI) - OpenGroup,
CMCIClient(3), CMPIData(3), CMPIObjectPath(3), CMPIStatus(3)