共用方式為


IRowSet.DataSourceName Property

Definition

Gets the ODBC Data Source Name property associated with this RowSet.

public string? DataSourceName { [Android.Runtime.Register("getDataSourceName", "()Ljava/lang/String;", "GetGetDataSourceNameHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setDataSourceName", "(Ljava/lang/String;)V", "GetSetDataSourceName_Ljava_lang_String_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getDataSourceName", "()Ljava/lang/String;", "GetGetDataSourceNameHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setDataSourceName", "(Ljava/lang/String;)V", "GetSetDataSourceName_Ljava_lang_String_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.DataSourceName : string with get, set

Property Value

Attributes

Exceptions

if an error occurs 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