DirectorySearcher Constructor

Initializes a new instance of the DirectorySearcher class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DirectorySearcher() Initializes a new instance of the DirectorySearcher class with default values.
Public method DirectorySearcher(DirectoryEntry) Initializes a new instance of the DirectorySearcher class using the specified search root.
Public method DirectorySearcher(String) Initializes a new instance of the DirectorySearcher class with the specified search filter.
Public method DirectorySearcher(DirectoryEntry, String) Initializes a new instance of the DirectorySearcher class with the specified search root and search filter.
Public method DirectorySearcher(String, String[]) Initializes a new instance of the DirectorySearcher class with the specified search filter and properties to retrieve.
Public method DirectorySearcher(DirectoryEntry, String, String[]) Initializes a new instance of the DirectorySearcher class with the specified search root, search filter, and properties to retrieve..
Public method DirectorySearcher(String, String[], SearchScope) Initializes a new instance of the DirectorySearcher class with the specified search filter, properties to retrieve, and search scope.
Public method DirectorySearcher(DirectoryEntry, String, String[], SearchScope) Initializes a new instance of the DirectorySearcher class with the specified search root, search filter, properties to retrieve, and search scope.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft