Data.SqlExpr.TSQLConnection.Rollback

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLConnection

Delphi

procedure Rollback( TransDesc: TTransactionDesc); deprecated;

C++

void __fastcall Rollback _DEPRECATED_ATTRIBUTE0 (const TTransactionDesc &TransDesc);

Description

Attention: Rollback is deprecated.

Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction.

Call Rollback to cancel any changes made during the transaction described by TransDesc and to end it.

TransDesc is the transaction descriptor supplied to the StartTransaction method when starting the transaction.

If the specified transaction is the only current transaction, Rollback sets the InTransaction property to false after canceling the transaction.

Note: This method has been deprecated.

See Also