Share via


ITransaction: Notes

Limitations: None

Implementation Notes

Consumers that use the ODBC Provider should be aware of the ITransaction::Abort and ITransaction::Commit error XACT_E_CANTRETAIN, which specifies that retaining abort and commit operations are not supported and that the specified abort or commit succeeded, leaving the session in auto-commit mode. After receiving this error, consumers should check for extended error information. If extended error information is available, consumers should call ITransaction::GetTransactionInfo to determine the current transaction mode (manual-commit or auto-commit); there might be some cases in which the ODBC Provider cannot put the session in auto-commit mode despite the information implied in the XACT_E_CANTRETAIN error.

This topic is a part of: