Edit

Bagikan melalui


GlobalCatalog.GetDirectorySearcher Method

Definition

Retrieves a DirectorySearcher object for the global catalog server.

public:
 override System::DirectoryServices::DirectorySearcher ^ GetDirectorySearcher();
public override System.DirectoryServices.DirectorySearcher GetDirectorySearcher ();
override this.GetDirectorySearcher : unit -> System.DirectoryServices.DirectorySearcher
Public Overrides Function GetDirectorySearcher () As DirectorySearcher

Returns

A DirectorySearcher object for the global catalog server.

Exceptions

The global catalog server has been disabled.

The current object has been disposed.

Applies to

See also