DomainController.FindOne Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Finds a single domain controller.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext)

Finds a single domain controller in the specified context.

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext, LocatorOptions)

Finds a single domain controller in the specified context, allowing for additional search options.

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext, String)

Finds a single domain controller in the specified context and site.

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext, String, LocatorOptions)

Finds a single domain controller in the specified context and site, allowing for additional search options.

Return to top
Show: