IWbemClassObject::GetPropertyQualifierSet

[This is preliminary documentation and subject to change.]

The IWbemClassObject::GetPropertyQualifierSet method gets the qualifier set for a particular property in the class object.

HRESULT IWbemClassObject::GetPropertyQualifierSet(
  [in] BSTR bstrProperty,
  [out] IWbemQualifierSet **ppQualSet 
);
 

Parameters

bstrProperty
The property for which the qualifier set is requested. This must point to a valid BSTR, which is treated as read-only. The property can be local or propagated from the superclass. Note that system properties have no qualifiers so they return WBEM_E_SYSTEM_PROPERTY.
ppQualSet
Receives an interface pointer that allows access to the qualifiers for the named property. The caller must call IWbemQualifierSet::Release on the pointer when access to the object is no longer required. The property is set to point to NULL when there are error conditions; a new object is not returned.

Return Values

WBEM_E_FAILED General failure.
WBEM_E_NOT_FOUND The specified property does not exist.
WBEM_E_OUT_OF_MEMORY There was not enough memory to complete the operation.
WBEM_E_SYSTEM_PROPERTY There was an attempt to get qualifiers on a system property.
WBEM_NO_ERROR Success.
WBEM_E_INVALID_PARAMETER An invalid parameter was specified, or the namespace could not be parsed.

See Also

IWbemQualifierSet