DomainController.IsGlobalCatalog Method ()

 

Determines if this domain controller is 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 virtual bool IsGlobalCatalog()

Return Value

Type: System.Boolean

true if this domain controller is a global catalog server or false otherwise.

Exception Condition
ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: