IConnection.ReleaseSavepoint(ISavepoint) Method

Definition

Removes the specified Savepoint and subsequent Savepoint objects from the current transaction.

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

Parameters

savepoint
ISavepoint

the Savepoint object to be removed

Attributes

Exceptions

if there is a problem with accessing the database or if savepoint is considered not valid in this transaction.

Remarks

Removes the specified Savepoint and subsequent Savepoint objects from the current transaction. Any reference to the savepoint after it have been removed will cause an SQLException to be thrown.

Added in 1.4.

Java documentation for java.sql.Connection.releaseSavepoint(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