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;

 

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