Click or drag to resize

DataServer.Commit Method

Force all pending updates to this data server to be permanently written to disk.

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.7
Syntax
 VIRTUAL METHOD Commit() AS USUAL
Request Example View Source

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
DataServer:Commit() can fail for many reasons, ranging from a lack of capability in the server to lock conflicts and technical problems, such as network crashes.  Use the DataServer:Status property to determine the exact cause of the failure. The exact implications of this action depend on the type of the data server.  With some database management systems, the method commits all servers using the same connection; with others, it commits only this server; and with yet others, the method does nothing.  In addition, some SQL servers have other implications of a commit operation (they can close cursors, for example).
Tip Tip
You should carefully study the documentation for your database management system.
See Also