Reliable test for MSDTC promoting transactions to distributed?

Posted by Oded on Stack Overflow See other posts from Stack Overflow or by Oded
Published on 2010-03-16T16:49:03Z Indexed on 2010/03/16 16:51 UTC
Read the original article Hit count: 611

How can I reliably check that MSDTC has promoted a transaction to a distributed transaction, from .net code?

Currently a co-worker is testing this by shutting down the coordinator on his machine - if an exception is thrown this is taken as evidence that an attempt to promote the transaction has occurred. Is this a valid test?

© Stack Overflow or respective owner

Related posts about mstdc

Related posts about sql-server-2008