Use the DtcGetTransactionManager function to program an ODBC application.
To perform a series of MS DTC transactions, repeat steps 3 through 6.To release the reference to the Transaction object, call the ITransaction::Release function.To use an ODBC connection with an MS DTC transaction and then use the same connection with a local Adaptive Server transaction, call SQLSetConnectAttr with a ValuePtr of SQL_DTC_DONE to unenlist the connection from the transaction.