MySQL Connector/Net |
MySqlConnection..::.EnlistTransaction Method (Transaction) |
MySqlConnection Class See Also Send Feedback |
Enlists in the specified transaction.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public virtual void EnlistTransaction( Transaction transaction ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub EnlistTransaction ( _ transaction As Transaction _ ) |
Visual C++ |
---|
public: virtual void EnlistTransaction( Transaction^ transaction ) |
Parameters
- transaction
- Type: System.Transactions..::.Transaction
A reference to an existing Transaction in which to enlist.