IDatabaseMetaData.GetSchemas(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 the schema names available in this database.
[Android.Runtime.Register("getSchemas", "(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetSchemas_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? GetSchemas (string? catalog, string? schemaPattern);
[<Android.Runtime.Register("getSchemas", "(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetSchemas_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetSchemas : string * string -> 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; null means catalog name should not be used to narrow down the search.
- schemaPattern
- String
a schema name; must match the schema name as it is stored in the database; null means schema name should not be used to narrow down the search.
Returns
a ResultSet
object in which each row is a
schema description
- Attributes
Exceptions
if any error occurs
Remarks
Retrieves the schema names available in this database. The results are ordered by TABLE_CATALOG
and TABLE_SCHEM
.
The schema columns are: <OL> <LI><B>TABLE_SCHEM</B> String => schema name <LI><B>TABLE_CATALOG</B> String => catalog name (may be null
) </OL>
Added in 1.6.
Java documentation for java.sql.DatabaseMetaData.getSchemas(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.