IDatabaseMetaData.GetCrossReference(String, String, String, String, String, String) Method
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.
Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table).
[Android.Runtime.Register("getCrossReference", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetCrossReference_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_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? GetCrossReference (string? parentCatalog, string? parentSchema, string? parentTable, string? foreignCatalog, string? foreignSchema, string? foreignTable);
[<Android.Runtime.Register("getCrossReference", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetCrossReference_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_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 GetCrossReference : string * string * string * string * string * string -> Java.Sql.IResultSet
Parameters
- parentCatalog
- 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 drop catalog name from the selection criteria
- parentSchema
- 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 drop schema name from the selection criteria
- parentTable
- String
the name of the table that exports the key; must match the table name as it is stored in the database
- foreignCatalog
- 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 drop catalog name from the selection criteria
- foreignSchema
- 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 drop schema name from the selection criteria
- foreignTable
- String
the name of the table that imports the key; must match the table name as it is stored in the database
Returns
<code>ResultSet</code> - each row is a foreign key column description
- Attributes
Exceptions
if there is a database error.
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.