RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection.Attributes Property

Specifies automated transaction behavior.

Pascal
property Attributes: TXactAttributes;
C++
__property TXactAttributes Attributes;

Set Attributes to specify whether a connection object performs retaining commits or retaining aborts. The two behaviors are independent of each other. 

Attributes can contain one of the two TXactAttribute values (xaCommitRetaining and xaAbortRetaining), both values, or neither value.

ADOConnection1.Attributes := [xaCommitRetaining, xaAbortRetaining];

 

ADOConnection1->Attributes = TXactAttributes() << xaCommitRetaining << xaAbortRetaining;

 

Specifying Whether the Connection Automatically Initiates Transactions

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