[This is preliminary documentation and subject to change.]
The DWbemContext.BeginEnumeration method resets the enumeration of all the context values in the object. You must call this method before making the first call to DWbemContext.Next to enumerate all of the context values in the object.
BeginEnumeration(
[in] lFlags As Long
) As Long
WBEM_E_INVALID_PARAMETER | The lFlags parameter was not valid. |
WBEM_NO_ERROR | Success. |
WBEM_E_OUT_OF_MEMORY | There was not enough memory to begin an enumeration. |
WBEM_E_FAILED | Unspecified error. |
DWbemContext.Next, DWbemContext.EndEnumeration