BusinessLogicCommand.Transaction 属性

Gets or sets the transaction within which the command executes.

命名空间:  Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集:  Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

语法

声明
Public Property Transaction As IDbTransaction 
    Get 
    Set
用法
Dim instance As BusinessLogicCommand 
Dim value As IDbTransaction 

value = instance.Transaction

instance.Transaction = value
public IDbTransaction Transaction { get; set; }
public:
virtual property IDbTransaction^ Transaction {
    IDbTransaction^ get () sealed;
    void set (IDbTransaction^ value) sealed;
}
abstract Transaction : IDbTransaction with get, set 
override Transaction : IDbTransaction with get, set
final function get Transaction () : IDbTransaction 
final function set Transaction (value : IDbTransaction)

属性值

类型:System.Data.IDbTransaction
The transaction within which the command executes.

实现

IDbCommand.Transaction

请参阅

参考

BusinessLogicCommand 类

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空间