GlobalCatalog.GetGlobalCatalog Method (DirectoryContext)
Retrieves a GlobalCatalog object for the specified context.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
An DirectoryContext object that contains the target and credentials to use to retrieve the object. The target of the context must be a domain controller.
Return ValueType: System.DirectoryServices.ActiveDirectory.GlobalCatalog
An GlobalCatalog object that represents the global catalog server that was found.
Available since 2.0