Export (0) Print
Expand All

DirectorySearcher Properties

The DirectorySearcher type exposes the following members.

  NameDescription
Public property Asynchronous Gets or sets a value that indicates if the search is performed asynchronously.
Public property 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.
Public property CacheResults Gets or sets a value indicating whether the result is cached on the client computer.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property 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.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property DerefAlias Gets or sets a value indicating how the aliases of objects that are found during a search should be resolved.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property DirectorySynchronization Gets or sets an object that represents the directory synchronization control to use with the search.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property ExtendedDN Gets or sets a value that indicates the format of the distinguished names.
Public property Filter Gets or sets a value indicating the Lightweight Directory Access Protocol (LDAP) format filter string.
Public property PageSize Gets or sets a value indicating the page size in a paged search.
Public property PropertiesToLoad Gets a value indicating the list of properties to retrieve during the search.
Public property PropertyNamesOnly Gets or sets a value indicating whether the search retrieves only the names of attributes to which values have been assigned.
Public property ReferralChasing Gets or sets a value indicating how referrals are chased.
Public property SearchRoot Gets or sets a value indicating the node in the Active Directory Domain Services hierarchy where the search starts.
Public property SearchScope Gets or sets a value indicating the scope of the search that is observed by the server.
Public property SecurityMasks Gets or sets a value indicating which security access information for the specified attributes should be returned by the search.
Public property 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.
Public property 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.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property SizeLimit Gets or sets a value indicating the maximum number of objects that the server returns in a search.
Public property Sort Gets or sets a value indicating the property on which the results are sorted.
Public property Tombstone Gets or sets a value indicating whether the search should also return deleted objects that match the search filter.
Public property VirtualListView Gets or sets a value indicating the virtual list view options for the search.
Top

Community Additions

ADD
Show:
© 2014 Microsoft