Rolls back a transaction from a pending state.
System.Data.OracleClient (in system.data.oracleclient.dll)
virtual void Rollback () override
public override function Rollback ()
An error occurred while trying to commit the transaction.
The transaction has already been committed or rolled back.
The connection is broken.
The transaction can be rolled back only from a pending state (after BeginTransaction has been called, but before Commit is called).
The following example creates an OracleConnection and an OracleTransaction. It also demonstrates how to use the BeginTransaction, Commit, and Rollback methods.
No code example is currently available or this language may not be supported.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Supported in: 3.0, 2.0, 1.1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback