Save Method

Save Method

The Save method saves the current data into the currently bound data source.

Syntax

Sub Save()
HRESULT Save();

Remarks

After opening a data source, such as an object, call the Save method to commit changes to local data back to the data source.

Invocations of the Save method are not recursive; that is, if you have a chain of open objects, calling the Save method on one object saves the changes back only to the object that is bound to that object. For example, if you use Message object A to open Message object B, and then you use Message object B to open Message object C, calling the Save method on Message object A commits the changes into Message object B only.