System.Data.Odbc.OdbcTransaction.Rollback Method

Rolls back a transaction from a pending state.

Syntax

public override void Rollback ()

Remarks

The transaction can be rolled back only from a pending state (after OdbcConnection.BeginTransaction has been called, but before OdbcTransaction.Commit is called). The transaction will be rolled back in the event it is disposed before Commit or Rollback is called.

Requirements

Namespace: System.Data.Odbc
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0