SqlCeTransaction.IsolationLevel 属性

指定该事务的 IsolationLevel

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

语法

声明
Public Overrides ReadOnly Property IsolationLevel As IsolationLevel
用法
Dim instance As SqlCeTransaction
Dim value As IsolationLevel

value = instance.IsolationLevel
public override IsolationLevel IsolationLevel { get; }
public:
virtual property IsolationLevel IsolationLevel {
    IsolationLevel get () override;
}
/** @property */
public IsolationLevel get_IsolationLevel ()
public override function get IsolationLevel () : IsolationLevel
不适用。

属性值

该事务的 IsolationLevel。Microsoft SQL Server 2005 Compact Edition .NET Compact Framework 数据提供程序支持 ReadCommittedSerializableReadRepeatable 三种隔离级别。

备注

不支持并行事务。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 Framework

受以下版本支持:3.0

.NET Compact Framework

受以下版本支持:2.0、1.0

请参见

参考

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