IConnection.ClearWarnings Method

Definition

Clears all warnings reported for this Connection object.

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

Exceptions

if there is a problem accessing the database.

Remarks

Clears all warnings reported for this Connection object. After a call to this method, the method getWarnings returns null until a new warning is reported for this Connection object.

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