Partager via


IResultSetMetaData.GetCatalogName(Int32) Method

Definition

Gets the designated column's table's catalog name.

[Android.Runtime.Register("getCatalogName", "(I)Ljava/lang/String;", "GetGetCatalogName_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetCatalogName (int column);
[<Android.Runtime.Register("getCatalogName", "(I)Ljava/lang/String;", "GetGetCatalogName_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetCatalogName : int -> string

Parameters

column
Int32

the first column is 1, the second is 2, ...

Returns

the name of the catalog for the table in which the given column appears or "" if not applicable

Attributes

Exceptions

if there is a database error.

Remarks

Gets the designated column's table's catalog name.

Java documentation for java.sql.ResultSetMetaData.getCatalogName(int).

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