SearchRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |
The SearchRequest() constructor creates an instance of the SearchRequest class. This constructor creates an empty request. |
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[]) |
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 |
The Aliases property contains one of the values of DereferenceAlias that specifies the dereference alias behavior. |
Attributes |
The Attributes property contains the attributes of the requested object. |
Controls |
The Controls property contains a DirectoryControlCollection object. (Inherited from DirectoryRequest) |
DistinguishedName |
The DistinguishedName property contains the distinguished name of the requested object. |
Filter |
The Filter property contains the search filter. |
RequestId |
The RequestId property contains the |
Scope |
The Scope property contains one of the values of SearchScope that specifies the scope of the search. |
SizeLimit |
The SizeLimit property contains the maximum number of objects returned in the search request. |
TimeLimit |
The TimeLimit property contains a TimeSpan object that specifies the time span allowed, if the server processes the search request. |
TypesOnly |
The TypesOnly property specifies whether the search returns only the attribute names and not the attribute values. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
ToXmlNode(XmlDocument) |
The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object. |
ToXmlNode(XmlDocument) |
The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object. (Inherited from DirectoryRequest) |