BusinessLogicTransaction 类
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents a business logic transaction.
继承层次结构
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicTransaction
命名空间: Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集: Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
语法
声明
Public Class BusinessLogicTransaction _
Implements IDbTransaction, IDisposable
用法
Dim instance As BusinessLogicTransaction
public class BusinessLogicTransaction : IDbTransaction,
IDisposable
public ref class BusinessLogicTransaction : IDbTransaction,
IDisposable
type BusinessLogicTransaction =
class
interface IDbTransaction
interface IDisposable
end
public class BusinessLogicTransaction implements IDbTransaction, IDisposable
BusinessLogicTransaction 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
BusinessLogicTransaction | Initializes a new instance of the BusinessLogicTransaction class. |
页首
属性
名称 | 说明 | |
---|---|---|
Connection | Gets the IDbConnection object associated with the transaction. | |
IsolationLevel | Gets the IsolationLevel for this transaction. |
页首
方法
名称 | 说明 | |
---|---|---|
Commit | Commits the transaction. | |
Dispose | Releases the unmanaged resources used by the BusinessLogicTransaction. | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
Rollback | Rolls back a transaction from a pending state. | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。