[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
None.
WBEM_E_FAILED | Unspecified error. |
WBEM_NO_ERROR | Success. |
DWbemClassObject.BeginEnumeration, DWbemClassObject.Next