IDatabaseMetaData.GetTables(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 tables available in the given catalog.
[Android.Runtime.Register("getTables", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetTables_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_arrayLjava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IResultSet? GetTables (string? catalog, string? schemaPattern, string? tableNamePattern, string[]? types);
[<Android.Runtime.Register("getTables", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetTables_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_arrayLjava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetTables : string * string * 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; <code>null</code> means that the catalog name should not be used to narrow the search
- schemaPattern
- String
a schema name pattern; 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
- tableNamePattern
- String
a table name pattern; must match the table name as it is stored in the database
- types
- String[]
a list of table types, which must be from the list of table types
returned from #getTableTypes,to include; <code>null</code> returns
all types
Returns
<code>ResultSet</code> - each row is a table description
- Attributes
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.