Compartir a través de


IConnection.TransactionIsolation Property

Definition

Returns the transaction isolation level for this connection.

public int TransactionIsolation { [Android.Runtime.Register("getTransactionIsolation", "()I", "GetGetTransactionIsolationHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setTransactionIsolation", "(I)V", "GetSetTransactionIsolation_IHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getTransactionIsolation", "()I", "GetGetTransactionIsolationHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setTransactionIsolation", "(I)V", "GetSetTransactionIsolation_IHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.TransactionIsolation : int with get, set

Property Value

Attributes

Exceptions

if there is a problem accessing the database.

if there is a problem with the database or if the value of level is not one of the expected constant values.

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

See also