Forest.GlobalCatalogs Property


Gets a collection of all global catalogs in the forest.

 property System::DirectoryServices::ActiveDirectory::GlobalCatalogCollection ^ GlobalCatalogs { System::DirectoryServices::ActiveDirectory::GlobalCatalogCollection ^ get(); };
public System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection GlobalCatalogs { get; }
member this.GlobalCatalogs : System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection
Public ReadOnly Property GlobalCatalogs As GlobalCatalogCollection

Property Value

A GlobalCatalogCollection collection that contains the GlobalCatalog global catalogs in the current Forest.


The target server is either busy or unavailable.

The object has been disposed.

Applies to