LocatorOptions Enumeration

Specifies search flags for finding a domain controller in a domain.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum LocatorOptions : long
/** @attribute FlagsAttribute() */ 
public enum LocatorOptions
public enum LocatorOptions

 Member nameDescription
AvoidSelfWhen searching for domain controllers from a domain controller, exclude this domain controller from the search. If the current computer is not a domain controller, this flag is ignored. 
ForceRediscoveryForces cached domain controller data to be ignored when searching for domain controllers. 
KdcRequiredSearch only for domain controllers that are currently running the Kerberos Key Distribution Center service. 
TimeServerRequiredSearch only for domain controllers that are currently running the Windows Time service. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0