IDatabaseMetaData.GetExportedKeys(String, String, String) Method

Definition

Retrieves a description of the foreign key columns that reference the given table's primary key columns (the foreign keys exported by a table).

[Android.Runtime.Register("getExportedKeys", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetExportedKeys_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? GetExportedKeys (string? catalog, string? schema, string? table);
[<Android.Runtime.Register("getExportedKeys", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetExportedKeys_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetExportedKeys : string * string * string -> Java.Sql.IResultSet

Parameters

catalog
String

a catalog name; must match the catalog name as it is stored in this 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 this database

Returns

IResultSet

a <code>ResultSet</code> object in which each row is a foreign key column description

Attributes

Exceptions

a database error occurred

Remarks

Java documentation for java.sql.DatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String).

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