Udostępnij za pośrednictwem


IConnection.Catalog Property

Definition

Gets this Connection object's current catalog name.

public string? Catalog { [Android.Runtime.Register("getCatalog", "()Ljava/lang/String;", "GetGetCatalogHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setCatalog", "(Ljava/lang/String;)V", "GetSetCatalog_Ljava_lang_String_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getCatalog", "()Ljava/lang/String;", "GetGetCatalogHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setCatalog", "(Ljava/lang/String;)V", "GetSetCatalog_Ljava_lang_String_Handler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Catalog : string with get, set

Property Value

Attributes

Exceptions

if there is a problem accessing the database.

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.

Applies to