語言

DirectorySearcher.PropertyNamesOnly 屬性

定義

取得或設定值,指出搜尋是否只擷取已指派值的屬性名稱。

public:
 property bool PropertyNamesOnly { bool get(); void set(bool value); };
public bool PropertyNamesOnly { get; set; }
[System.DirectoryServices.DSDescription("DSPropertyNamesOnly")]
public bool PropertyNamesOnly { get; set; }
member this.PropertyNamesOnly : bool with get, set
[<System.DirectoryServices.DSDescription("DSPropertyNamesOnly")>]
member this.PropertyNamesOnly : bool with get, set
Public Property PropertyNamesOnly As Boolean

屬性值

true 如果搜尋只得到被賦予數值的屬性名稱; false 如果搜尋能取得所有請求屬性的名稱與值。 預設值為 false。

屬性

適用於