FireDAC.Stan.Option.TFDTxOptions.DisconnectAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisconnectAction: TFDTxAction read FDisconnectAction write FDisconnectAction  default xdCommit;

C++

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

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDTxOptions

Description

Specifies an action that FireDAC should take when closing the connection.

Use DisconnectAction to specify an action that FireDAC should take when closing the connection, if there is an active transaction. The default value is xdCommit.

Action 

Description 

xdNone

There is nothing to be done. DBMS will take its default action. 

xdCommit

Commit the transaction. 

xdRollback

Rollback the transaction. 

See Also