IDatabaseMetaData.GetBestRowIdentifier(String, String, String, Int32, Boolean) Method

Definition

Retrieves a description of a table's optimal set of columns that uniquely identifies a row.

[Android.Runtime.Register("getBestRowIdentifier", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)Ljava/sql/ResultSet;", "GetGetBestRowIdentifier_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_IZHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IResultSet? GetBestRowIdentifier (string? catalog, string? schema, string? table, int scope, bool nullable);
[<Android.Runtime.Register("getBestRowIdentifier", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)Ljava/sql/ResultSet;", "GetGetBestRowIdentifier_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_IZHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBestRowIdentifier : string * string * string * int * bool -> Java.Sql.IResultSet

Parameters

catalog
String

a catalog name; must match the catalog name as it is stored in the database; "" retrieves those without a catalog; <code>null</code> means that the catalog name should not be used to narrow the search

schema
String

a schema name; must match the schema name as it is stored in the database; "" retrieves those without a schema; <code>null</code> means that the schema name should not be used to narrow the search

table
String

a table name; must match the table name as it is stored in the database

scope
Int32

the scope of interest; use same values as SCOPE

nullable
Boolean

include columns that are nullable.

Returns

IResultSet

<code>ResultSet</code> - each row is a column description

Attributes

Exceptions

if there is a database error.

Remarks

Java documentation for java.sql.DatabaseMetaData.getBestRowIdentifier(java.lang.String, java.lang.String, java.lang.String, int, boolean).

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.

Applies to