Enlists in the specified transaction as a distributed transaction.
[Visual Basic]
Public Sub EnlistDistributedTransaction( _
ByVal transaction As ITransaction _
)
[C#]
public void EnlistDistributedTransaction(
ITransaction transaction
);
[C++]
public: void EnlistDistributedTransaction(
ITransaction* transaction
);
[JScript]
public function EnlistDistributedTransaction(
transaction : ITransaction
);
You can enlist in an existing distributed transaction using the EnlistDistributedTransaction method if auto-enlistment is disabled. Enlisting in an existing distributed transaction ensures that, if the transaction is committed or rolled back, modifications made by the code at the data source are also committed or rolled back.
The Chaos isolation level can be used in Distributed Transactions the same way as in local transactions. That is, all changes are committed upon successful change operation irrespective of whether commit is issued on the transaction or not. The Chaos isolation level is valid only for DB2® for i servers.