DomainController::IsGlobalCatalog Method ()
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Determines if this domain controller is a global catalog server.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public: [DirectoryServicesPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)] [DirectoryServicesPermissionAttribute(SecurityAction::InheritanceDemand, Unrestricted = true)] virtual bool IsGlobalCatalog()
Return Value
Type: System::Booleantrue if this domain controller is a global catalog server or false otherwise.
Exception | Condition |
---|---|
ObjectDisposedException | The current object has been disposed. |
DirectoryServicesPermissionDirectoryServicesPermission
Demand value: LinkDemand
Demand value: InheritanceDemand
.NET Framework
Available since 2.0
Available since 2.0
Show: