IStatement.FetchDirection 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 the default direction for fetching rows for ResultSets
generated from this statement.
public int FetchDirection { [Android.Runtime.Register("getFetchDirection", "()I", "GetGetFetchDirectionHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setFetchDirection", "(I)V", "GetSetFetchDirection_IHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getFetchDirection", "()I", "GetGetFetchDirectionHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setFetchDirection", "(I)V", "GetSetFetchDirection_IHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.FetchDirection : int with get, set
Property Value
the default fetch direction for result sets generated from this Statement object
- Attributes
Exceptions
if an error occurs accessing the database.
if there is an error while accessing the database or if the fetch direction is unrecognized.
Remarks
Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this Statement object. If this Statement object has not set a fetch direction by calling the method setFetchDirection, the return value is implementation-specific.
Java reference for java.sql.Statement.getFetchDirection.
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.