The Commit method of the GlobalProperties class persists changes made to property settings that apply across the topology of the server farm.
force true to persist properties even when there are no changes; otherwise, false.
To minimize expensive 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. If you have not modified any properties, the Commit method exits without attempting to persist changes, except when force is true.
After calling the Add(Microsoft.SharePoint.Portal.Topology.DocumentService) method of the DocumentServiceCollection object you must update DefaultDocumentService property of the GlobalProperties object according to the action taken. If a new document service is added, the DefaultDocumentService property must point to it. In addition, you must call the Commit(Boolean) method to persist the changes.
Platforms: Microsoft Windows Server 2003
Security: Code Access Security