[This is preliminary documentation and subject to change.]
The DWbemClassObject.BeginEnumeration method resets the enumeration sequence of all the properties in the object. You must call this method before the first call to DWbemClassObject.Next to enumerate all of the properties on an object.
DWbemClassObject.BeginEnumeration(
[in] lEnumFlags As Long
) As Long
WBEM_E_INVALID_PARAMETER | The specified combination of flags was invalid, an invalid parameter was specified, or the namespace could not be parsed. |
WBEM_E_OUT_OF_MEMORY | There is not enough memory to begin a new enumeration. |
WBEM_NO_ERROR | Success. |
You can control the properties included in the enumeration by specifying a combination of the following flags. You can combine one flag from each group with any flag from any other group. However, flags from the same group are mutually exclusive.
DWbemClassObject.Next, System Properties, DWbemClassObject.EndEnumeration