Share via


Commit(Boolean) Method

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

Parameters

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

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security