FireDAC.Stan.Option.TFDTxOptions.DisconnectAction

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property DisconnectAction: TFDTxAction read FDisconnectAction write FDisconnectAction

C++

__property TFDTxAction DisconnectAction = {read=FDisconnectAction, write=FDisconnectAction, default=1};

プロパティ

種類 可視性 ソース ユニット
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDTxOptions

説明

接続を閉じているとき、FireDAC が実行する必要がある動作を指定します。


DisconnectAction を使用して、接続を閉じているとき、アクティブなトランザクションがある場合、FireDAC が実行する必要がある動作を指定します。デフォルト値は xdCommit です。

動作

説明

xdNone

実行することがありません。DBMS はデフォルト アクションを実行します。

xdCommit

トランザクションをコミットします。

xdRollback

トランザクションをロールバックします。

関連項目