AdoDotNetConnectionSupport.CurrentTransactionLevel 属性

检索当前事务级别。

命名空间:  Microsoft.VisualStudio.Data.AdoDotNet
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.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
返回当前事务级别的整数表示。

备注

基实现假定只有一个事务级别提供程序在事务支持并返回1;如果和0否则为。

.NET Framework 安全性

请参见

参考

AdoDotNetConnectionSupport 类

Microsoft.VisualStudio.Data.AdoDotNet 命名空间