Edit

Share via


Forest.GlobalCatalogs Property

Definition

Gets a collection of all global catalogs in the forest.

public:
 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.

Exceptions

The target server is either busy or unavailable.

The object has been disposed.

Applies to