DataServer.Commit Method (Typed) | |
Force all pending updates to this data server to be permanently written to disk.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Commit() AS LOGIC
public virtual bool Commit()
Request Example
View SourceReturn Value
Type:
Logic
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 |
---|
You should carefully study the documentation for your database management system. |
See Also