共用方式為


SearchRequest 建構函式

定義

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()

來源:
DirectoryRequest.cs
來源:
DirectoryRequest.cs
來源:
DirectoryRequest.cs

SearchRequest() 建構函式會建立 SearchRequest 類別的執行個體。 這個建構函式會建立空白要求。

public:
 SearchRequest();
public SearchRequest ();
Public Sub New ()

適用於

SearchRequest(String, String, SearchScope, String[])

來源:
DirectoryRequest.cs
來源:
DirectoryRequest.cs
來源:
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[]

陣列,包含結果集中要求的屬性。

適用於