C# Класс Novell.Directory.Ldap.LdapSearchResults

An LdapSearchResults object is returned from a synchronous search operation. It provides access to all results received during the operation (entries and exceptions).
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Abandon void
LdapSearchResults System
LdapSearchResults System
resetVectors void

Открытые методы

Метод Описание
hasMore ( ) : bool

Reports if there are more search results.

next ( ) : LdapEntry

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.

Приватные методы

Метод Описание
Abandon ( ) : void

Cancels the search request and clears the message and enumeration.

LdapSearchResults ( ) : System
LdapSearchResults ( LdapConnection conn, LdapSearchQueue queue, LdapSearchConstraints cons ) : System

Constructs a queue object for search results.

resetVectors ( ) : void

Описание методов

hasMore() публичный Метод

Reports if there are more search results.
public hasMore ( ) : bool
Результат bool

next() публичный Метод

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
Результат LdapEntry