SearchRequest 類別

定義

SearchRequest 類別會初始化搜尋作業。

public ref class SearchRequest : System::DirectoryServices::Protocols::DirectoryRequest
public class SearchRequest : System.DirectoryServices.Protocols.DirectoryRequest
type SearchRequest = class
    inherit DirectoryRequest
Public Class SearchRequest
Inherits DirectoryRequest
繼承

建構函式

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 類別的執行個體。

屬性

Aliases

Aliases 屬性 (Property) 包含可指定取值別名行為之其中一個 DereferenceAlias 值。

Attributes

Attributes 屬性 (Property) 包含要求之物件的屬性 (Attribute)。

Controls

Controls 屬性包含 DirectoryControlCollection 物件。

(繼承來源 DirectoryRequest)
DistinguishedName

DistinguishedName 屬性包含要求之物件的辨別名稱。

Filter

Filter 屬性,包含搜尋篩選條件。

RequestId

RequestId 屬性包含要求中指定的 requestID

(繼承來源 DirectoryRequest)
Scope

Scope 屬性包含其中一個 SearchScope 值,可指定搜尋範圍。

SizeLimit

SizeLimit 屬性包含搜尋要求中傳回之物件的最大數目。

TimeLimit

TimeLimit 屬性包含 TimeSpan 物件,可指定伺服器處理搜尋要求時允許的時間範圍。

TypesOnly

TypesOnly 屬性 (Property),指定搜尋是否僅傳回屬性 (Attribute) 名稱,而非屬性 (Attribute) 值。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
ToXmlNode(XmlDocument)

ToXmlNode(XmlDocument) 方法會從指定的 XmlDocument 物件建立 XML 節點。

ToXmlNode(XmlDocument)

ToXmlNode(XmlDocument) 方法會從指定的 XmlDocument 物件建立 XML 節點。

(繼承來源 DirectoryRequest)

適用於