DataServer.Rollback Method (Typed)
Undo the changes made to this data server within the current transaction.
XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.18
This method can fail for many reasons, from a lack of capability in the server to lock conflicts to technical problems such as network crashes. Use DataServer:Status to determine the exact cause of the failure.
Note that not all servers support this operation, including the standard Xbase DBServer. If the server does support it, the exact implications of a rollback vary with the server. With some database management systems, the method rolls back all servers using the same connection; with others, it rolls back only this server. In addition, some SQL servers have other implications of a rollback operation (they can close cursors, for example).
|You should carefully study the documentation for your database management system.|See Also