IStatement.ClearWarnings 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
清除所有 Statement 報告的警告。
[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
- 屬性
例外狀況
如果存取資料庫時發生錯誤。
備註
清除所有 Statement 報告的警告。 呼叫此方法後,該方法 getWarnings 會返回 null ,直到該物件回報 Statement 新的警告。
Java 文件 java.sql.Statement.clearWarnings()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。