DomainController.GetDirectorySearcher Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a DirectorySearcher object for the domain controller.
public:
virtual System::DirectoryServices::DirectorySearcher ^ GetDirectorySearcher();
public virtual System.DirectoryServices.DirectorySearcher GetDirectorySearcher ();
abstract member GetDirectorySearcher : unit -> System.DirectoryServices.DirectorySearcher
override this.GetDirectorySearcher : unit -> System.DirectoryServices.DirectorySearcher
Public Overridable Function GetDirectorySearcher () As DirectorySearcher
Returns
A DirectorySearcher object for the domain controller.
Exceptions
The current object has been disposed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.