Compartilhar via


IRowSetMetaData.SetCatalogName(Int32, String) Method

Definition

Sets the designated column's table's catalog name, if any, to the given String.

[Android.Runtime.Register("setCatalogName", "(ILjava/lang/String;)V", "GetSetCatalogName_ILjava_lang_String_Handler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCatalogName (int columnIndex, string? catalogName);
[<Android.Runtime.Register("setCatalogName", "(ILjava/lang/String;)V", "GetSetCatalogName_ILjava_lang_String_Handler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCatalogName : int * string -> unit

Parameters

columnIndex
Int32

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

catalogName
String

the column's catalog name

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets the designated column's table's catalog name, if any, to the given String.

Java documentation for javax.sql.RowSetMetaData.setCatalogName(int, 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