Help Center

NewEnumfunction

Retrieves an enumerator for the collection.

COMfunctionCWmiDisp.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION NewEnum () AS BOOLEAN

Return value

TRUE if the enumerator has been retrieved or FALSE otherwise.

Description

Retrieves an enumerator for the collection.

Note: If ExecQuery has been called using the wbemFlagReturnImmediately flag, the enumerator won't be available until the operation has completed.

Reference