adTempus API
PreviousUpNext
IADTIndependentObject::Save Method

Saves the object to the database

C++
HRESULT Save();
C#
Save();
Visual Basic
Sub Save()

The caller must have saModify permission (saAdd for new objects) for the object or the method will fail with error ADT_E_NO_PERMISSION. 

When you attempt to save an object it is validated first (each object performs validation appropriate to that object). If any errors occur, Save will fail with error ADT_E_VALIDATION_ERRORS. You can then use the Validate method to get detailed information on the errors. For user-interface applications we recommend that you call Validate before attempting to save, to avoid redundant validation.

adTempus API Reference version 3.0.0.0, revised 10/30/2008