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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για