IWbemClassObject::EndEnumeration

[This is preliminary documentation and subject to change.]

The IWbemClassObject::EndEnumeration method terminates an enumeration sequence started with IWbemClassObject::BeginEnumeration. This call is not required, but is recommended to developers because it releases resources associated with the enumeration. However, the resources are deallocated automatically when the next enumeration is started or the object is released.

HRESULT IWbemClassObject::EndEnumeration( );
 

Parameters

None.

Return Values

WBEM_E_FAILED General failure.
WBEM_NO_ERROR Success.

See Also

IWbemClassObject::BeginEnumeration, IWbemClassObject::Next