NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DirectorySearcher.CacheResults

Specifies whether the result should be cached on the client machine. By default, ADSI caches the result set. Turning off this option may be more desirable for large result sets.

[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);

See Also

DirectorySearcher Class | DirectorySearcher Members | System.DirectoryServices Namespace