AutoDiscover Property

The AutoDiscover property of the DomainController class gets or sets a value indicating whether the domain controller for importing user profiles is discovered automatically.

Property Value

true if the domain controller for importing user profiles is discovered automatically; otherwise, ****the domain controller that was specified in the Server property is used. By default, AutoDiscover is true.

Remarks

If AutoDiscover is true, the domain controller that was specified in the Server property is ignored.

Requirements

Platforms: Microsoft Windows ServerĀ 2003

Security: Code Access Security