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

屬性

適用於