Forest.FindAllDiscoverableGlobalCatalogs Method (String)
Finds all of the discoverable global catalogs in this forest in a specified site.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
The name of the site to search.
Return ValueType: System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection
A GlobalCatalogCollection that contains the collection of global catalogs that were found.
You can find discoverable global catalogs by querying DNS SRV records. If a global catalog does not register a GC SRV record for the specified site, it will not be returned by this method, even if the global catalog is physically located within that site.
All global catalogs which register a GC SRV record for the specified site will be returned by this method, even if they might not be physically located within that site.
Available since 2.0