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);
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.
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.
DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace | CommitChanges