Gets or sets a value indicating whether the search retrieves only the names of attributes to which values have been assigned.
[Visual Basic] Public Property PropertyNamesOnly As Boolean [C#] public bool PropertyNamesOnly {get; set;} [C++] public: __property bool get_PropertyNamesOnly(); public: __property void set_PropertyNamesOnly(bool); [JScript] public function get PropertyNamesOnly() : Boolean; public function set PropertyNamesOnly(Boolean);
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 is false.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
DirectorySearcher Class | DirectorySearcher Members | System.DirectoryServices Namespace