共用方式為


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 命名空間