RAD Studio VCL Reference
TADOConnection.Attributes Property

Specifies automated transaction behavior.

property Attributes: TXactAttributes;
__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;


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