RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.Commit Method

Commits an open transaction.

Pascal
procedure Commit(TransDesc: TTransactionDesc); deprecated;
C++
__fastcall Commit(TTransactionDesc TransDesc);

Call Commit to save any changes made during the transaction described by TransDesc and to end that transaction.  

TransDesc is the transaction descriptor supplied to the StartTransaction method when starting the transaction. 

If the specified transaction is the only current transaction, Commit sets the InTransaction property to false after committing the transaction.

Note: This method has been deprecated.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!