GlobalCatalog.DisableGlobalCatalog Method ()


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

Demotes this domain controller from a global catalog server.

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

public DomainController DisableGlobalCatalog()

Return Value

Type: System.DirectoryServices.ActiveDirectory.DomainController

A DomainController object that represents the domain controller.

Exception Condition

The domain controller is not a global catalog server or the global catalog server has already been disabled.


The current object has been disposed.

.NET Framework
Available since 2.0
Return to top