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.CommitChanges

Saves any changes to the entry in the directory store.

[Visual Basic]
Public Sub CommitChanges()
[C#]
public void CommitChanges();
[C++]
public: void CommitChanges();
[JScript]
public function CommitChanges();

Remarks

These changes include changes to the DirectoryEntryPropertyValueCollection as well as calls to Create (if this is the newly created entry) or Remove (if this is the container).

CAUTION   If you call RefreshCache before calling CommitChanges, any uncommitted changes to the property cache will be lost.

By default, changes to properties are done locally to a cache and reading property values is cached after the first read. For more information, see UsePropertyCache.

See Also

DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace | Create | Remove | RefreshCache | UsePropertyCache