IDatabaseMetaData.GetAttributes(String, String, String, String) Method

Definition

Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog.

[Android.Runtime.Register("getAttributes", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetAttributes_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? GetAttributes (string? catalog, string? schemaPattern, string? typeNamePattern, string? attributeNamePattern);
[<Android.Runtime.Register("getAttributes", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetAttributes_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 GetAttributes : 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

typeNamePattern
String

a type name pattern; must match the type name as it is stored in the database

attributeNamePattern
String

an attribute name pattern; must match the attribute name as it is declared in the database

Returns

IResultSet

a <code>ResultSet</code> object in which each row is an attribute description

Attributes

Exceptions

if there is a database error.

Remarks

Java documentation for java.sql.DatabaseMetaData.getAttributes(java.lang.String, 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