IConnection.Rollback Method

Definition

Overloads

Rollback(ISavepoint)

Undoes all changes made after the given <code>Savepoint</code> object was set.

Rollback()

Undoes all changes made in the current transaction and releases any database locks currently held by this <code>Connection</code> object.

Rollback(ISavepoint)

Undoes all changes made after the given <code>Savepoint</code> object was set.

[Android.Runtime.Register("rollback", "(Ljava/sql/Savepoint;)V", "GetRollback_Ljava_sql_Savepoint_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Rollback (Java.Sql.ISavepoint? savepoint);
[<Android.Runtime.Register("rollback", "(Ljava/sql/Savepoint;)V", "GetRollback_Ljava_sql_Savepoint_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Rollback : Java.Sql.ISavepoint -> unit

Parameters

savepoint
ISavepoint

the <code>Savepoint</code> object to roll back to

Attributes

Exceptions

if there is a problem accessing the database.

Remarks

Java documentation for java.sql.Connection.rollback(java.sql.Savepoint).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Rollback()

Undoes all changes made in the current transaction and releases any database locks currently held by this <code>Connection</code> object.

[Android.Runtime.Register("rollback", "()V", "GetRollbackHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Rollback ();
[<Android.Runtime.Register("rollback", "()V", "GetRollbackHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Rollback : unit -> unit
Attributes

Exceptions

if there is a problem with the database or if the method is called while in auto-commit mode of operation.

Remarks

Java documentation for java.sql.Connection.rollback().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to