SMO: ServerConnection.CommitTransaction() Method.CommitTransaction() excecute the follwing t-sql code: if (@@trancount > 0) COMMIT TRANSACTIONSo if from the code you are tring to commit transaction that is not open it will not be failed, It sould rair error message 3902: The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization