Bewerken

Delen via


DomainController.GetDirectorySearcher Method

Definition

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