Commit(Boolean) Method

The Commit method of the Database class persists changes made to properties of the database.


force true to persist properties even when there are no changes; otherwise, false.


To minimize network calls, the objects in the Microsoft.SharePoint.Portal.Topology namespace do not immediately persist changes to their properties. Call the Commit method after modifying properties to persist changes to an object. If you have not modified any properties, the Commit method exits without attempting to persist changes, except when force is true.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security