adsi.ADsEnumerateNext

PyIEnumerator = ADsEnumerateNext(enum, num )

Parameters

enum : PyIEnumVARIANT

The enumerator.

num=1 : int

Number of items to retrieve.

Return Value

The result is a tuple of Python objects converted from Variants, one for each element returned. Note that if zero elements are returned, it is not considered an error condition - an empty tuple is simply returned.