请参阅以下内容:
Using scope As New System.Transactions.TransactionScope
//Create instance of connection 1 and open
//Create instance of connection 2 and open
//Create instance of connection 3 and open
scope.complete()
End Using
有没有办法从交易中排除连接 2。原因是connection2连接的数据库服务器没有启用事务。我计划启用它,但它必须经过“更改过程”,这需要数周时间。因此,我正在寻找一个快速的胜利。