next() public méthode

Returns the next result as an LdapEntry. If automatic referral following is disabled or if a referral was not followed, next() will throw an LdapReferralException when the referral is received.
LdapException A general exception which includes an error /// message and an Ldap error code. /// LdapReferralException A referral was received and not /// followed. ///
public next ( ) : LdapEntry
Résultat LdapEntry
Exemple #1
0
        private static LdapEntry[] toArray(LdapSearchResults results)
        {
            ArrayList entries;

            entries = new ArrayList();

            while(results.hasMore())
                entries.Add(results.next());

            return((LdapEntry[]) entries.ToArray(typeof(LdapEntry)));
        }