Novell.Directory.Ldap.LdapSearchRequest.LdapSearchRequest C# (CSharp) Method

LdapSearchRequest() public method

Constructs an Ldap Search Request with a filter in Asn1 format.
public LdapSearchRequest ( System base_Renamed, int scope, RfcFilter filter, System attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl cont ) : System
base_Renamed System
scope int The scope of the entries to search. The following /// are the valid options: ///
    ///
  • SCOPE_BASE - searches only the base DN
  • /// ///
  • SCOPE_ONE - searches only entries under the base DN
  • /// ///
  • SCOPE_SUB - searches the base DN and all entries /// within its subtree
  • ///
///
filter Novell.Directory.Ldap.Rfc2251.RfcFilter The search filter specifying the search criteria. /// ///
attrs System The names of attributes to retrieve. /// operation exceeds the time limit. /// ///
dereference int Specifies when aliases should be dereferenced. /// Must be either one of the constants defined in /// LdapConstraints, which are DEREF_NEVER, /// DEREF_FINDING, DEREF_SEARCHING, or DEREF_ALWAYS. /// ///
maxResults int The maximum number of search results to return /// for a search request. /// The search operation will be terminated by the server /// with an LdapException.SIZE_LIMIT_EXCEEDED if the /// number of results exceed the maximum. /// ///
serverTimeLimit int The maximum time in seconds that the server /// should spend returning search results. This is a /// server-enforced limit. A value of 0 means /// no time limit. /// ///
typesOnly bool If true, returns the names but not the values of /// the attributes found. If false, returns the /// names and values for attributes found. /// ///
cont LdapControl Any controls that apply to the search request. /// or null if none. /// ///
return System
        public LdapSearchRequest(System.String base_Renamed, int scope, RfcFilter filter, System.String[] attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl[] cont)
            : base(LdapMessage.SEARCH_REQUEST, new RfcSearchRequest(new RfcLdapDN(base_Renamed), new Asn1Enumerated(scope), new Asn1Enumerated(dereference), new Asn1Integer(maxResults), new Asn1Integer(serverTimeLimit), new Asn1Boolean(typesOnly), filter, new RfcAttributeDescriptionList(attrs)), cont)
        {
            return ;
        }

Same methods

LdapSearchRequest::LdapSearchRequest ( System base_Renamed, int scope, System filter, System attrs, int dereference, int maxResults, int serverTimeLimit, bool typesOnly, LdapControl cont ) : System
LdapSearchRequest