Domain.FindDomainController 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 any domain controller in this domain.

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

NameDescription
System_CAPS_pubmethodFindDomainController()

Finds any domain controller in this domain.

System_CAPS_pubmethodFindDomainController(LocatorOptions)

Finds a domain controller in this domain that meets the specified criteria.

System_CAPS_pubmethodFindDomainController(String)

Finds a domain controller in this domain and in the specified site.

System_CAPS_pubmethodFindDomainController(String, LocatorOptions)

Finds a domain controller in this domain and in the specified site that meets the specified criteria.

Return to top
Show: