Rollback method

Rolls back the transaction's outstanding changes to the database.

Syntax
Visual Basic

Public Overrides Sub Rollback()
C#

public override void Rollback();
Remarks

Once a transaction has been committed or rolled back, the connection reverts to automatically committing all operations as they are executed. To group more operations together, a new transaction must be created.

See also