[This is preliminary documentation and subject to change.]
The IWbemQualifierSet::BeginEnumeration method resets before there is an enumeration of all the qualifiers in the object. To enumerate all of the qualifiers on an object, this method must be called prior to the first call to IWbemQualifierSet::Next.
HRESULT IWbemQualifierSet::BeginEnumeration(
[in] LONG lFlags
);
0 (Zero) | Return the names of all qualifiers. |
WBEM_FLAG_LOCAL_ONLY | Return only the names of the local object. If the current qualifier set refers to a property, return only the qualifiers set on this property, and not those propagated from another qualifier set. If the current qualifier set refers to an instance, return only instance-specific qualifier names. If the current qualifier set refers to a class, return only qualifiers local to the derived-most class. |
WBEM_FLAG_PROPAGATED_ONLY | Return only the names of qualifiers propagated from another object. For example, if the current qualifier set refers to a property, return only the qualifiers propagated to this property from another qualifier set, and not those set on this property itself. If the current qualifier set refers to an instance, only return those qualifiers propagated from the class definition. If the current qualifier set refers to a class, only return those qualifier names inherited from the superclasses, and so on. |
WBEM_E_INVALID_PARAMETER | The lFlags parameter was not valid. |
WBEM_NO_ERROR | Success. |