IBX.IBDatabase.TIBTransaction.AutoStopAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoStopAction : TAutoStopAction read FAutoStopAction write FAutoStopAction default saNone;

C++

__property TAutoStopAction AutoStopAction = {read=FAutoStopAction, write=FAutoStopAction, default=0};

Properties

Type Visibility Source Unit Parent
property published
IBX.IBDatabase.pas
IBX.IBDatabase.hpp
IBX.IBDatabase TIBTransaction

Description

Specifies what action to take when automatically ending transactions.

Use AutoStopAction to specify how the transaction should end when it is implicitly stopped. Transactions are implicitly stopped when AutoStopAction is not saNone and the last dataset associated with the transaction closes.

Note: This property only works with the closing of TDataSet descendants. If the transaction also includes TIBSQL components, AutoStopAction should be saNone, because the transaction can't tell whether there are any active TIBSQL components.