共用方式為


RelationalConnection.EnlistTransaction(Transaction) 方法

定義

指定要用於資料庫作業的現有 Transaction

public virtual void EnlistTransaction (System.Transactions.Transaction transaction);
public virtual void EnlistTransaction (System.Transactions.Transaction? transaction);
abstract member EnlistTransaction : System.Transactions.Transaction -> unit
override this.EnlistTransaction : System.Transactions.Transaction -> unit
Public Overridable Sub EnlistTransaction (transaction As Transaction)

參數

transaction
Transaction

要使用的交易。

實作

適用於