Help Center

ObjectsCountfunction

Returns the number of objects in 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 ObjectsCount () AS LONG

Description

Returns the number of objects in the collection.

Remarks

If ExecQuery has been called without the wbemFlagReturnWhenComplete flag, this method will return 0 because the operation has not been completed.

Reference