GlobalCatalog.EnableGlobalCatalog Method ()

 

Not supported for the GlobalCatalog class because this domain controller is already a global catalog server.

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

[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, 
	Unrestricted = true)]
[DirectoryServicesPermissionAttribute(SecurityAction.InheritanceDemand, 
	Unrestricted = true)]
public override GlobalCatalog EnableGlobalCatalog()

Return Value

Type: System.DirectoryServices.ActiveDirectory.GlobalCatalog

Not applicable. This method will always throw an InvalidOperationException exception.

Exception Condition
InvalidOperationException

The domain controller is already a global catalog server.

ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: