DomainController.EnableGlobalCatalog Method

Definition

Promotes this domain controller to a global catalog server.

public:
 virtual System::DirectoryServices::ActiveDirectory::GlobalCatalog ^ EnableGlobalCatalog();
public virtual System.DirectoryServices.ActiveDirectory.GlobalCatalog EnableGlobalCatalog ();
abstract member EnableGlobalCatalog : unit -> System.DirectoryServices.ActiveDirectory.GlobalCatalog
override this.EnableGlobalCatalog : unit -> System.DirectoryServices.ActiveDirectory.GlobalCatalog
Public Overridable Function EnableGlobalCatalog () As GlobalCatalog

Returns

GlobalCatalog

A GlobalCatalog object that represents the global catalog server.

Exceptions

The current object has been disposed.

Remarks

The GlobalCatalog.DisableGlobalCatalog method is used to demote the domain controller from a global catalog server.

Applies to

See also