[This is preliminary documentation and subject to change.]
This is the Commit method of the MsiDatabase object. This method finalizes the persistent form of the database. All persistent data is written to the writeable database. No temporary columns or rows are written. This method has no effect on a database opened read-only. This method can be called multiple times to save the current state of tables loaded into memory. When the database is finally closed, any changes made subsequent to the last Commit are rolled back. This method is normally called prior to shutdown when all database changes have been finalized.
object.Commit