IStatement.ClearBatch Method

Definition

Empties this Statement object's current list of SQL commands.

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

Exceptions

if an error occurs accessing the database or the database does not support batch updates.

Remarks

Empties this Statement object's current list of SQL commands.

Added in 1.2.

Java documentation for java.sql.Statement.clearBatch().

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