SqlCeConnection.System.Data.IDbConnection.BeginTransaction 方法 (IsolationLevel)

命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 system.data.sqlserverce.dll 中)

语法

声明
Private Function System.Data.IDbConnection.BeginTransaction ( _
    isolationLevel As IsolationLevel _
) As IDbTransaction Implements IDbConnection.BeginTransaction
用法
Dim instance As SqlCeConnection
Dim isolationLevel As IsolationLevel
Dim value As IDbTransaction

value = CType(instance, IDbConnection).BeginTransaction(isolationLevel)
IDbTransaction IDbConnection.BeginTransaction (
    IsolationLevel isolationLevel
)
private:
virtual IDbTransaction^ System.Data.IDbConnection.BeginTransaction (
    IsolationLevel isolationLevel
) sealed = IDbConnection::BeginTransaction
不适用。

参数

  • isolationLevel

平台

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Windows Vista、Microsoft Windows XP SP2 和 Windows Server 2003 SP1 支持 Microsoft .NET Framework 3.0。

版本信息

.NET Compact Framework

受以下版本支持:1.0

请参见

参考

SqlCeConnection 类
SqlCeConnection 成员
System.Data.SqlServerCe 命名空间