DomainController.EnableGlobalCatalog Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Promotes this domain controller to a global catalog server.

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

	Unrestricted = true)]
	Unrestricted = true)]
public virtual GlobalCatalog EnableGlobalCatalog()

Return Value

Type: System.DirectoryServices.ActiveDirectory.GlobalCatalog

A GlobalCatalog object that represents the global catalog server.

Exception Condition

The current object has been disposed.

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

.NET Framework
Available since 2.0
Return to top