IDatabaseMetaData.GetImportedKeys(String, String, String) IDatabaseMetaData.GetImportedKeys(String, String, String) Method

Definition

Returns a list columns in a table that are both primary keys and referenced by the table's foreign key columns (that is, the primary keys imported by a table).

[Android.Runtime.Register("getImportedKeys", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetImportedKeys_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IResultSet GetImportedKeys (string catalog, string schema, string table);
abstract member GetImportedKeys : string * string * string -> Java.Sql.IResultSet

Parameters

catalog
String String

a catalog name. null is used to imply no narrowing of the search by catalog name. Otherwise, the name must match a catalog name held in the database, with "" used to retrieve those without a catalog name.

schema
String String

a schema name. null is used to imply no narrowing of the search by schema name. Otherwise, the name must match a schema name in the database, with "" used to retrieve those without a schema name.

table
String String

a table name, which must match the name of a table in the database.

Returns

Exceptions

a database error occurred.

Remarks

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