GlobalCatalog.FindOne Method (DirectoryContext, LocatorOptions)
Finds a single global catalog server in the specified context, allowing for additional search options.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
A DirectoryContext object that contains the target and credentials to use for the search.
A combination of one or more of the LocatorOptions members that defines the type of global catalog server to find.
Return ValueType: System.DirectoryServices.ActiveDirectory.GlobalCatalog
A GlobalCatalog object that represents the global catalog server found by the search.
Available since 2.0