Commit(Boolean) Method

When overridden in a derived class, the Commit method of the DocumentWorkspace class persists changes made to properties of the DocumentWorkspace instance.


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