Compartir a través de


IConnection.AutoCommit Property

Definition

Returns a boolean indicating whether or not this connection is in the auto-commit operating mode.

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