SearchOption SearchOption SearchOption SearchOption Enum


SearchOption 枚举指定用于定义搜索的行为方式的搜索选项。The SearchOption enumeration specifies the search options which define how the search will behave.

public enum class SearchOption
public enum SearchOption
type SearchOption = 
Public Enum SearchOption


DomainScope DomainScope DomainScope DomainScope 1

防止在返回搜索结果时生成检索。Prevents referrals from being generated when the search results are returned. 值等于 1。The value is equal to 1.

PhantomRoot PhantomRoot PhantomRoot PhantomRoot 2

指示服务器搜索从属于搜索基础的所有命名上下文。Instructs the server to search all naming contexts that are subordinate to the search base. 值等于 2。The value is equal to 2.