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!

DirectoryEntry.UsePropertyCache

Gets a value indicating whether the cache should not be committed after each operation.

[Visual Basic]
Public Property UsePropertyCache As Boolean
[C#]
public bool UsePropertyCache {get; set;}
[C++]
public: __property bool get_UsePropertyCache();
public: __property void set_UsePropertyCache(bool);
[JScript]
public function get UsePropertyCache() : Boolean;
public function set UsePropertyCache(Boolean);

Property Value

true if the cache should not be committed after each operation; false if the cache should be committed after each operation. The default is true.

Remarks

By default, changes to properties are done locally to a cache and reading property values is cached after the first read. Setting this to false will cause the cache to be committed after operation.

See Also

DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace | CommitChanges