LocatorOptions 枚举

定义

指定用于查找域中的域控制器的搜索标志。Specifies search flags for finding a domain controller in a domain.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class LocatorOptions
[System.Flags]
public enum LocatorOptions
type LocatorOptions = 
Public Enum LocatorOptions
继承
LocatorOptions
属性

字段

AvoidSelf 16384

当从某个域控制器搜索域控制器时,会将此域控制器排除在搜索范围外。When 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.

ForceRediscovery 1

当搜索域控制器时,将强制忽略缓存的域控制器数据。Forces cached domain controller data to be ignored when searching for domain controllers.

KdcRequired 1024

只搜索当前运行 Kerberos 密钥分发中心服务的域控制器。Search only for domain controllers that are currently running the Kerberos Key Distribution Center service.

TimeServerRequired 2048

只搜索当前运行 Windows 时间服务的域控制器。Search only for domain controllers that are currently running the Windows Time service.

WriteableRequired 4096

只搜索可写的域控制器。Search only for writeable domain controllers.

适用于

另请参阅