SearchRequest 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
SearchRequest() 构造函数创建 SearchRequest 类的实例。
重载
SearchRequest() |
SearchRequest() 构造函数创建 SearchRequest 类的实例。 此构造函数创建一个空请求。 |
SearchRequest(String, String, SearchScope, String[]) |
SearchRequest(String, String, SearchScope, String[]) 构造函数使用指定的名称、搜索筛选器、范围和特性创建 SearchRequest 类的实例。 |
SearchRequest(String, XmlDocument, SearchScope, String[]) |
SearchRequest(String, XmlDocument, SearchScope, String[]) 构造函数使用指定的名称、搜索筛选器、范围和特性创建 SearchRequest 类的实例。 |
SearchRequest()
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
SearchRequest() 构造函数创建 SearchRequest 类的实例。 此构造函数创建一个空请求。
public:
SearchRequest();
public SearchRequest ();
Public Sub New ()
适用于
SearchRequest(String, String, SearchScope, String[])
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
SearchRequest(String, String, SearchScope, String[]) 构造函数使用指定的名称、搜索筛选器、范围和特性创建 SearchRequest 类的实例。
public:
SearchRequest(System::String ^ distinguishedName, System::String ^ ldapFilter, System::DirectoryServices::Protocols::SearchScope searchScope, ... cli::array <System::String ^> ^ attributeList);
public SearchRequest (string distinguishedName, string ldapFilter, System.DirectoryServices.Protocols.SearchScope searchScope, params string[] attributeList);
new System.DirectoryServices.Protocols.SearchRequest : string * string * System.DirectoryServices.Protocols.SearchScope * string[] -> System.DirectoryServices.Protocols.SearchRequest
Public Sub New (distinguishedName As String, ldapFilter As String, searchScope As SearchScope, ParamArray attributeList As String())
参数
- distinguishedName
- String
要从其处开始搜索的对象的识别名。
- ldapFilter
- String
LDAP 搜索筛选器。
- searchScope
- SearchScope
SearchScope 的一个值,用于指定搜索范围。
- attributeList
- String[]
一个在结果集内包含请求的特性的数组。
适用于
SearchRequest(String, XmlDocument, SearchScope, String[])
SearchRequest(String, XmlDocument, SearchScope, String[]) 构造函数使用指定的名称、搜索筛选器、范围和特性创建 SearchRequest 类的实例。
public:
SearchRequest(System::String ^ distinguishedName, System::Xml::XmlDocument ^ filter, System::DirectoryServices::Protocols::SearchScope searchScope, ... cli::array <System::String ^> ^ attributeList);
public SearchRequest (string distinguishedName, System.Xml.XmlDocument filter, System.DirectoryServices.Protocols.SearchScope searchScope, params string[] attributeList);
new System.DirectoryServices.Protocols.SearchRequest : string * System.Xml.XmlDocument * System.DirectoryServices.Protocols.SearchScope * string[] -> System.DirectoryServices.Protocols.SearchRequest
Public Sub New (distinguishedName As String, filter As XmlDocument, searchScope As SearchScope, ParamArray attributeList As String())
参数
- distinguishedName
- String
要搜索的对象的识别名。
- filter
- XmlDocument
DSML v2 搜索筛选器。
- searchScope
- SearchScope
指定搜索范围的 SearchScope 值。 默认值是 SearchScope。
- attributeList
- String[]
一个在结果集内包含请求的特性的数组。