ReferralChasingOption 枚举

定义

ReferralChasingOption 枚举指定是否以及如何追踪检索跟踪。The ReferralChasingOption enumeration specifies if and how referral chasing is pursued.

public enum class ReferralChasingOption
public enum ReferralChasingOption
type ReferralChasingOption = 
Public Enum ReferralChasingOption
继承
ReferralChasingOption

字段

All 96

跟踪从属或外部类型的检索。Chase referrals of either the subordinate or external type.

External 64

跟踪外部检索。Chase external referrals. 如果没有为目录搜索指定检索跟踪选项,则执行 External 类型的检索跟踪。If no referral chasing option is specified for a directory search, the type of referral chasing performed is External.

None 0

从不检索被引用的服务器。Never chase the referred-to server. 设置此选项可防止客户端在检索进程中联系其他服务器。Setting this option prevents a client from contacting other servers in a referral process.

Subordinate 32

只跟踪作为目录树中的从属命名上下文的从属检索。Chase only subordinate referrals that are a subordinate naming context in a directory tree. 对于分页搜索,ADSI LDAP 提供程序始终会关闭这一标记。The ADSI LDAP provider always turns off this flag for paged searches.

注解

当服务器确定其他服务器保存相关信息时, 服务器可能会将客户端引用到另一台服务器来获取结果。When a server determines that other servers hold relevant information the server might refer the client to another server to obtain the result. 引用跟踪是客户端联系引用的服务器以继续执行目录搜索的过程。Referral chasing is the process by which a client contacts the referenced server to continue the directory search.

使用此枚举的常量为检索跟踪设置搜索首选项。Use the constants of this enumeration to set up search preferences for referral chasing. 操作涉及将的DirectorySearcher相应字段分配给ReferralChasingOption枚举的元素。The action involves assigning the appropriate fields of DirectorySearcher to elements of the ReferralChasingOption enumeration.

ADSI LDAP 提供程序支持用于分页搜索的外部引用, 但在分页过程中不支持从属引用。The ADSI LDAP provider supports external referrals for paged searches, but does not support subordinate referrals during paging.

适用于