IWbemClassObject::GetPropertyQualifierSet method (wbemcli.h)

The IWbemClassObject::GetPropertyQualifierSet method gets the qualifier set for a particular property in the class object. You can use this method with properties that are a member of an instance or a class definition.

Syntax

HRESULT GetPropertyQualifierSet(
  [in]  LPCWSTR           wszProperty,
  [out] IWbemQualifierSet **ppQualSet
);

Parameters

[in] wszProperty

Property for which the qualifier set is requested. This cannot be NULL and must point to a valid LPCWSTR. The property can be local or propagated from the parent class. Note that system properties have no qualifiers so this method returns the error code WBEM_E_SYSTEM_PROPERTY if you attempt to obtain the IWbemQualifierSet pointer for a system property.

[out] 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 value

This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT. For general HRESULT values, see System Error Codes.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemcli.h (include Wbemidl.h)
Library WbemUuid.lib
DLL CIMWin32.dll; Esscli.dll; Fastprox.dll; FrameDyn.dll; FrameDynOS.dll; Krnlprov.dll; Ncprov.dll; Wbemcore.dll; Wbemess.dll; Wmipiprt.dll

See also

IWbemClassObject

IWbemQualifierSet