GlobalCatalog.DisableGlobalCatalog Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
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: