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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기