Redigera

Dela via


DirectorySearcher.PropertyNamesOnly Property

Definition

Gets or sets a value indicating whether the search retrieves only the names of attributes to which values have been assigned.

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

Property Value

true if the search obtains only the names of attributes to which values have been assigned; false if the search obtains the names and values for all the requested attributes. The default value is false.

Attributes

Applies to