Udostępnij za pośrednictwem


IStatement.ClearWarnings Method

Definition

Clears all the warnings reported on this Statement object.

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

Exceptions

if an error occurs accessing the database.

Remarks

Clears all the warnings reported on this Statement object. After a call to this method, the method getWarnings will return null until a new warning is reported for this Statement object.

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

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