Forest.FindAllGlobalCatalogs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈