Gets or sets a value indicating whether the result is cached on the client computer.
[Visual Basic]
Public Property CacheResults As Boolean
[C#]
public bool CacheResults {get; set;}
[C++]
public: __property bool get_CacheResults();
public: __property void set_CacheResults(bool);
[JScript]
public function get CacheResults() : Boolean;
public function set CacheResults(Boolean);
Property Value
true if the result is cached on the client computer; otherwise, false. The default is true.
Remarks
If the search returns a large result set, it is better to set this property to false.
Requirements
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
DirectorySearcher Class | DirectorySearcher Members | System.DirectoryServices Namespace