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);
true if the result is cached on the client computer; otherwise, false. The default is true.
If the search returns a large result set, it is better to set this property to 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