DWbemClassObject.EndEnumeration

[This is preliminary documentation and subject to change.]

The DWbemClassObject.EndEnumeration method stops an enumeration sequence started with DWbemClassObject.BeginEnumeration. This call is not required. However, we recommend it to developers because it releases resources associated with the enumeration. However, the resources are deallocated automatically when the next enumeration starts.

DWbemClassObject.EndEnumeration( ) As Long
 

Parameters

None.

Return Values

WBEM_E_FAILED Unspecified error.
WBEM_NO_ERROR Success.

See Also

DWbemClassObject.BeginEnumeration, DWbemClassObject.Next