Export (0) Print
Expand All

DirectorySearcher Constructor

Initializes a new instance of the DirectorySearcher class.

Name Description
DirectorySearcher () Initializes a new instance of the DirectorySearcher class with default values.
DirectorySearcher (DirectoryEntry) Initializes a new instance of the DirectorySearcher class using the specified search root.
DirectorySearcher (String) Initializes a new instance of the DirectorySearcher class with the specified search filter.
DirectorySearcher (DirectoryEntry, String) Initializes a new instance of the DirectorySearcher class with the specified search root and search filter.
DirectorySearcher (String, String[]) Initializes a new instance of the DirectorySearcher class with the specified search filter and properties to retrieve.
DirectorySearcher (DirectoryEntry, String, String[]) Initializes a new instance of the DirectorySearcher class with the specified search root, search filter, and properties to retrieve..
DirectorySearcher (String, String[], SearchScope) Initializes a new instance of the DirectorySearcher class with the specified search filter, properties to retrieve, and search scope.
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.

Community Additions

ADD
Show:
© 2015 Microsoft