IStatement.MoreResults 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.
Moves to this statement's next result.
public bool MoreResults { [Android.Runtime.Register("getMoreResults", "()Z", "GetGetMoreResultsHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getMoreResults", "()Z", "GetGetMoreResultsHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.MoreResults : bool
Property Value
true if the next result is a ResultSet object; false if it is an update count or there are no more results
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Moves to this Statement object's next result, returns true if it is a ResultSet object, and implicitly closes any current ResultSet object(s) obtained with the method getResultSet.
// stmt is a Statement object
((stmt.getMoreResults() == false) && (stmt.getUpdateCount() == -1))
Java reference for java.sql.Statement.getMoreResults.
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.