DisableGlobalCatalog Method

GlobalCatalog.DisableGlobalCatalog Method ()

 

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
InvalidOperationException

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

ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft