Rollback() method

Rolls back a transaction from a pending state.

Syntax
Visual Basic

Public Overrides Sub Rollback()
C#

public override void Rollback();
Remarks

The transaction can only be rolled back from a pending state (after BeginTransaction has been called, but before Commit is called).

See also