SearchRequest SearchRequest SearchRequest SearchRequest Class

Definition

The SearchRequest class initiates a search operation.

public ref class SearchRequest : System::DirectoryServices::Protocols::DirectoryRequest
public class SearchRequest : System.DirectoryServices.Protocols.DirectoryRequest
type SearchRequest = class
    inherit DirectoryRequest
Public Class SearchRequest
Inherits DirectoryRequest
Inheritance

Constructors

SearchRequest() SearchRequest() SearchRequest() SearchRequest()

The SearchRequest() constructor creates an instance of the SearchRequest class. This constructor creates an empty request.

SearchRequest(String, String, SearchScope, String[]) SearchRequest(String, String, SearchScope, String[]) SearchRequest(String, String, SearchScope, String[]) SearchRequest(String, String, SearchScope, String[])

The SearchRequest(String, String, SearchScope, String[]) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes.

SearchRequest(String, XmlDocument, SearchScope, String[]) SearchRequest(String, XmlDocument, SearchScope, String[]) SearchRequest(String, XmlDocument, SearchScope, String[]) SearchRequest(String, XmlDocument, SearchScope, String[])

The SearchRequest(String, XmlDocument, SearchScope, String[]) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes.

Properties

Aliases Aliases Aliases Aliases

The Aliases property contains one of the values of DereferenceAlias that specifies the dereference alias behavior.

Attributes Attributes Attributes Attributes

The Attributes property contains the attributes of the requested object.

Controls Controls Controls Controls

The Controls property contains a DirectoryControlCollection object.

(Inherited from DirectoryRequest)
DistinguishedName DistinguishedName DistinguishedName DistinguishedName

The DistinguishedName property contains the distinguished name of the requested object.

Filter Filter Filter Filter

The Filter property contains the search filter.

RequestId RequestId RequestId RequestId

The RequestId property contains the requestID specified in the request.

(Inherited from DirectoryRequest)
Scope Scope Scope Scope

The Scope property contains one of the values of SearchScope that specifies the scope of the search.

SizeLimit SizeLimit SizeLimit SizeLimit

The SizeLimit property contains the maximum number of objects returned in the search request.

TimeLimit TimeLimit TimeLimit TimeLimit

The TimeLimit property contains a TimeSpan object that specifies the time span allowed, if the server processes the search request.

TypesOnly TypesOnly TypesOnly TypesOnly

The TypesOnly property specifies whether the search returns only the attribute names and not the attribute values.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToXmlNode(XmlDocument) ToXmlNode(XmlDocument) ToXmlNode(XmlDocument) ToXmlNode(XmlDocument)

The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object.

Applies to