DirectorySearcher Members
Performs queries against Active Directory.
The following tables list the members exposed by the DirectorySearcher type.
| Name | Description | |
|---|---|---|
| DirectorySearcher | Overloaded. Initializes a new instance of the DirectorySearcher class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Asynchronous | Gets or sets a value that indicates if the search is performed asynchronously. |
| AttributeScopeQuery | Gets or sets the LDAP display name of the distinguished name attribute to search in. Only one attribute can be used for this type of search. |
| CacheResults | Gets or sets a value indicating whether the result is cached on the client computer. |
| ClientTimeout | Gets or sets the maximum amount of time that the client waits for the server to return results. If the server does not respond within this time, the search is aborted and no results are returned. |
| Container | Gets the IContainer that contains the Component.(inherited from Component) |
| DerefAlias | Gets or sets a value indicating how the aliases of objects that are found during a search should be resolved. |
| DirectorySynchronization | Gets or sets an object that represents the directory synchronization control to use with the search. |
| ExtendedDN | Gets or sets a value that indicates the format of the distinguished names. |
| Filter | Gets or sets a value indicating the Lightweight Directory Access Protocol (LDAP) format filter string. |
| PageSize | Gets or sets a value indicating the page size in a paged search. |
| PropertiesToLoad | Gets a value indicating the list of properties to retrieve during the search. |
| PropertyNamesOnly | Gets or sets a value indicating whether the search retrieves only the names of attributes to which values have been assigned. |
| ReferralChasing | Gets or sets a value indicating how referrals are chased. |
| SearchRoot | Gets or sets a value indicating the node in the Active Directory hierarchy where the search starts. |
| SearchScope | Gets or sets a value indicating the scope of the search that is observed by the server. |
| SecurityMasks | Gets or sets a value indicating which security access information for the specified attributes should be returned by the search. |
| ServerPageTimeLimit | Gets or sets a value indicating the maximum amount of time the server should search for an individual page of results. This is not the same as the time limit for the entire search. |
| ServerTimeLimit | The ServerTimeLimit property gets or sets a value indicating the maximum amount of time the server spends searching. If the time limit is reached, only entries that are found up to that point are returned. |
| Site | Gets or sets the ISite of the Component.(inherited from Component) |
| SizeLimit | Gets or sets a value indicating the maximum number of objects that the server returns in a search. |
| Sort | Gets or sets a value indicating the property on which the results are sorted. |
| Tombstone | Gets or sets a value indicating whether the search should also return deleted objects that match the search filter. |
| VirtualListView | Gets or sets a value indicating the virtual list view options for the search. |
| Name | Description | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event.(inherited from Component) |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode.(inherited from Component) |
| Events | Gets the list of event handlers that are attached to this Component.(inherited from Component) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject) |
| Dispose | Overloaded. Releases the managed resources that are used by the object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| FindAll | Executes the search and returns a collection of the entries that are found. |
| FindOne | Executes the search and returns only the first entry that is found. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component) |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Overridden. Releases the managed resources that are used by the object. |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component) |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (inherited from Component) |
| MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) |