AdsTransaction.Rollback

Advantage .NET Data Provider

Rolls back the database transaction.

public void Rollback();

public void Rollback( string strSavepoint);

Remarks

If the transaction is still active, this will roll back the transaction running on the associated AdsConnection. If the transaction has already been committed or rolled back, this will throw an InvalidOperationException. If a savepoint is specified the transaction will be rolled back to the savepoint.

See Also

AdsTransaction.Commit

AdsTransaction.CreateSavepoint