Share via


IConnection.ReadOnly Property

Definition

Returns a boolean indicating whether or not this connection is currently in the read-only state.

public bool ReadOnly { [Android.Runtime.Register("isReadOnly", "()Z", "GetIsReadOnlyHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setReadOnly", "(Z)V", "GetSetReadOnly_ZHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("isReadOnly", "()Z", "GetIsReadOnlyHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setReadOnly", "(Z)V", "GetSetReadOnly_ZHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.ReadOnly : bool 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