Commit(Boolean) Method

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


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 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.

See PortalUrl Class for additional information about the PortalUrl object.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security