IStatement.UpdateCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an update count for the current result if it is not a ResultSet.
public int UpdateCount { [Android.Runtime.Register("getUpdateCount", "()I", "GetGetUpdateCountHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getUpdateCount", "()I", "GetGetUpdateCountHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.UpdateCount : int
Property Value
the current result as an update count; -1 if the current result is a ResultSet object or there are no more results
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Retrieves the current result as an update count; if the result is a ResultSet object or there are no more results, -1 is returned. This method should be called only once per result.
Java reference for java.sql.Statement.getUpdateCount.
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.