RAD Studio VCL Reference
|
TXactAttribute values specify automated transaction behavior.
TXactAttribute = ( xaCommitRetaining, xaAbortRetaining );
enum TXactAttribute { xaCommitRetaining, xaAbortRetaining };
Use TXactAttribute to specify how the committing and aborting of a connection component's transactions is handled. A property of type TXactAttribute may contain one TXactAttribute constant, both, or none.
An xaCommitRetaining value specifies that the connection performs retaining commits. Committing a transaction automatically starts a new transaction.
An xaAbortRetaining value specifies that the connection performs retaining aborts. Rolling back a transaction automatically starts a new transaction.
The constants that make up the TXactAttributes type correspond directly to the ADO XactAttributeEnum constants adXactCommitRetaining and adXactAbortRetaining. These ADO constants are in the Attributes property of the ADO Connection object. For additional information on these ADO constants and their effects, see the Microsoft Data Access SDK help in the topic for the Attributes property of the ADO Connection object.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|