Share via


IDatabaseMetaData.SupportsTransactions Method

Definition

Retrieves whether this database supports transactions.

[Android.Runtime.Register("supportsTransactions", "()Z", "GetSupportsTransactionsHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool SupportsTransactions ();
[<Android.Runtime.Register("supportsTransactions", "()Z", "GetSupportsTransactionsHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SupportsTransactions : unit -> bool

Returns

true if transactions are supported; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves whether this database supports transactions. If not, invoking the method commit is a noop, and the isolation level is TRANSACTION_NONE.

Java documentation for java.sql.DatabaseMetaData.supportsTransactions().

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