Udostępnij za pośrednictwem


IDatabaseMetaData.SupportsTransactionIsolationLevel(Int32) Method

Definition

Retrieves whether this database supports the given transaction isolation level.

[Android.Runtime.Register("supportsTransactionIsolationLevel", "(I)Z", "GetSupportsTransactionIsolationLevel_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool SupportsTransactionIsolationLevel (int level);
[<Android.Runtime.Register("supportsTransactionIsolationLevel", "(I)Z", "GetSupportsTransactionIsolationLevel_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SupportsTransactionIsolationLevel : int -> bool

Parameters

level
Int32

one of the transaction isolation levels defined in java.sql.Connection

Returns

true if so; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves whether this database supports the given transaction isolation level.

Java documentation for java.sql.DatabaseMetaData.supportsTransactionIsolationLevel(int).

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