Επεξεργασία

Κοινή χρήση μέσω


Forest.FindAllGlobalCatalogs Method

Definition

Finds all the global catalogs in this forest.

Overloads

FindAllGlobalCatalogs()

Finds all the global catalogs in this forest.

FindAllGlobalCatalogs(String)

Finds all the global catalogs in this forest for a given site.

FindAllGlobalCatalogs()

Source:
Forest.cs
Source:
Forest.cs
Source:
Forest.cs
Source:
Forest.cs

Finds all the global catalogs in this forest.

public:
 System::DirectoryServices::ActiveDirectory::GlobalCatalogCollection ^ FindAllGlobalCatalogs();
public System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection FindAllGlobalCatalogs ();
member this.FindAllGlobalCatalogs : unit -> System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection
Public Function FindAllGlobalCatalogs () As GlobalCatalogCollection

Returns

A GlobalCatalogCollection that contains the collection of global catalogs that were found.

Exceptions

The target server is either busy or unavailable.

The object has been disposed.

See also

Applies to

FindAllGlobalCatalogs(String)

Source:
Forest.cs
Source:
Forest.cs
Source:
Forest.cs
Source:
Forest.cs

Finds all the global catalogs in this forest for a given site.

public:
 System::DirectoryServices::ActiveDirectory::GlobalCatalogCollection ^ FindAllGlobalCatalogs(System::String ^ siteName);
public System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection FindAllGlobalCatalogs (string siteName);
member this.FindAllGlobalCatalogs : string -> System.DirectoryServices.ActiveDirectory.GlobalCatalogCollection
Public Function FindAllGlobalCatalogs (siteName As String) As GlobalCatalogCollection

Parameters

siteName
String

The name of the site to search.

Returns

A GlobalCatalogCollection object that contains the collection of global catalogs that were found.

Exceptions

The target server is either busy or unavailable.

siteName is an empty string.

siteName is null.

The object has been disposed.

See also

Applies to