DataTransaction.CurrentTransactionLevel 属性

获取指示当前事务级别的数值。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Public Overridable ReadOnly Property CurrentTransactionLevel As Integer
public virtual int CurrentTransactionLevel { get; }
public:
virtual property int CurrentTransactionLevel {
    int get ();
}
abstract CurrentTransactionLevel : int
override CurrentTransactionLevel : int
function get CurrentTransactionLevel () : int

属性值

类型:System.Int32
指定当前事务级别的整数值。

实现

IVsDataTransaction.CurrentTransactionLevel

备注

事务级别应用,尽管提供程序支持嵌套事务中,并提供一种方法来跟踪嵌套级别。当该值为零,则事务。

.NET Framework 安全性

请参见

参考

DataTransaction 类

Microsoft.VisualStudio.Data.Framework 命名空间