DirectorySearcher Constructor

 

Initializes a new instance of the DirectorySearcher class.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

NameDescription
System_CAPS_pubmethodDirectorySearcher()

Initializes a new instance of the DirectorySearcher class with default values.

System_CAPS_pubmethodDirectorySearcher(DirectoryEntry^)

Initializes a new instance of the DirectorySearcher class using the specified search root.

System_CAPS_pubmethodDirectorySearcher(DirectoryEntry^, String^)

Initializes a new instance of the DirectorySearcher class with the specified search root and search filter.

System_CAPS_pubmethodDirectorySearcher(DirectoryEntry^, String^, array<String^>^)

Initializes a new instance of the DirectorySearcher class with the specified search root, search filter, and properties to retrieve..

System_CAPS_pubmethodDirectorySearcher(DirectoryEntry^, String^, array<String^>^, SearchScope)

Initializes a new instance of the DirectorySearcher class with the specified search root, search filter, properties to retrieve, and search scope.

System_CAPS_pubmethodDirectorySearcher(String^)

Initializes a new instance of the DirectorySearcher class with the specified search filter.

System_CAPS_pubmethodDirectorySearcher(String^, array<String^>^)

Initializes a new instance of the DirectorySearcher class with the specified search filter and properties to retrieve.

System_CAPS_pubmethodDirectorySearcher(String^, array<String^>^, SearchScope)

Initializes a new instance of the DirectorySearcher class with the specified search filter, properties to retrieve, and search scope.

Return to top
Show: