Java.Sql.IStatement.SetCursorName Method
Sets the SQL cursor name.

Syntax

[Android.Runtime.Register("setCursorName", "(Ljava/lang/String;)V", "GetSetCursorName_Ljava_lang_String_Handler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCursorName (string name)

Parameters

name
the Cursor name as a string,

Exceptions

TypeReason
Java.Sql.SQLExceptionif an error occurs accessing the database.

Remarks

Sets the SQL cursor name. This name is used by subsequent statement execute methods.

Cursor names must be unique within one Connection.

With the cursor name set, it can then be used in SQL positioned update or delete statements to determine the current row in a ResultSet generated from this statement. The positioned update or delete must be done with a different statement than this one.

[Android Documentation]

Requirements

Namespace: Java.Sql
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1