Unosquare
    Show / Hide Table of Contents

    Class LdapSearchResults

    An LdapSearchResults object is returned from a synchronous search operation. It provides access to all results received during the operation (entries and exceptions).

    Inheritance
    Object
    LdapSearchResults
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan.Ldap
    Syntax
    public sealed class LdapSearchResults

    Properties

    Count

    Returns a count of the items in the search result.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    The count.

    Methods

    HasMore()

    Reports if there are more search results.

    Declaration
    public bool HasMore()
    Returns
    Type Description
    Boolean

    true if there are more search results.

    Next()

    Returns the next result as an LdapEntry.

    Declaration
    public LdapEntry Next()
    Returns
    Type Description
    LdapEntry

    The next search result as an LdapEntry.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Next - No more results.

    See Also

    Search(String, LdapScope, String, String[], Boolean, CancellationToken)

    Comments

    Back to top Copyright © 2017-2019 Unosquare