SearchRequest Class
The SearchRequest class initiates a search operation.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
System.DirectoryServices.Protocols::DirectoryOperation
System.DirectoryServices.Protocols::DirectoryRequest
System.DirectoryServices.Protocols::SearchRequest
| Name | Description | |
|---|---|---|
![]() | SearchRequest() | The SearchRequest() constructor creates an instance of the SearchRequest class. This constructor creates an empty request. |
![]() | SearchRequest(String^, String^, SearchScope, array<String^>^) | The SearchRequest(String^, String^, SearchScope, array<String^>^) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes. |
![]() | SearchRequest(String^, XmlDocument^, SearchScope, array<String^>^) | The SearchRequest(String^, XmlDocument^, SearchScope, array<String^>^) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes. |
| Name | Description | |
|---|---|---|
![]() | 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 requestID specified in the request.(Inherited from DirectoryRequest.) |
![]() | 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 | |
![]() | TypesOnly | The TypesOnly property specifies whether the search returns only the attribute names and not the attribute values. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | ToXmlNode(XmlDocument^) | The ToXmlNode method creates an XML node from the specified XmlDocument object.(Overrides DirectoryRequest::ToXmlNode(XmlDocument^).) |
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


