Share via


RelationalConnection.EnlistTransaction(Transaction) Method

Definition

Specifies an existing Transaction to be used for database operations.

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)

Parameters

transaction
Transaction

The transaction to be used.

Implements

Applies to