DIWbemQualifierSet.Get

[This is preliminary documentation and subject to change.]

The DIWbemQualifierSet.Get method gets the specified named qualifier, if found.

DIWbemQualifierSet.Get(
  [in] Name,
  [in] lFlags As Long,
  [out, OPTIONAL] pVal As VARIANT,
  [out, OPTIONAL] plFlavor As Long
) As Long
 

Parameters

Name
The qualifier name for which the value is being requested.
lFlags
Reserved. It must be zero.
pVal
If successful, the VARIANT is assigned to the correct type and value for the qualifier.

If an error code returns, the VARIANT in pVal is left unmodified.

If this parameter is NULL, ignore the parameter.

plFlavor
Can be NULL. If it is not NULL, this must be a Long that receives the qualifier flavor bits for the requested qualifier. See Qualifier Flavors.

Return Values

WBEM_E_INVALID_PARAMETER One or more parameters were not found, were invalid, or the namespace could not be parsed.
WBEM_E_NOT_FOUND The specified qualifier did not exist.
WBEM_NO_ERROR Success.

See Also

Qualifier Flavors