RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.TransactionsSupported Property

Indicates whether the database server supports transactions.

Pascal
property TransactionsSupported: LongBool;
C++
__property LongBool TransactionsSupported;

Read TransactionsSupported at runtime to ascertain whether the database server supports transactions. If TransactionsSupported is false, then the BeginTransaction, CommitFreeAndNil, RollbackFreeAndNil, and RollbackIncompleteFreeAndNil methods do nothing. If TransactionsSupported is true, you can use the SQL connection component to manage transactions.

Note: Some servers support multiple transactions (either nested or overlapping). When TransactionsSupported is true, you can test whether the server supports multiple transactions by reading the MultipleTransactionsSupported property.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!