GlobalCatalogs Property

Forest.GlobalCatalogs Property

 

Gets a collection of all global catalogs in the forest.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public GlobalCatalogCollection GlobalCatalogs { get; }

Property Value

Type: System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection

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

Exception Condition
ActiveDirectoryServerDownException

The target server is either busy or unavailable.

ObjectDisposedException

The object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft