These events will be called after the associated operation on the Connection object finishes executing.
BeginTransComplete TransactionLevel, pError, adStatus, pConnection CommitTransComplete pError, adStatus, pConnection RollbackTransComplete pError, adStatus, pConnection
These events can prevent subsequent notifications by setting this parameter to adStatusUnwantedEvent before the event returns.
In Visual C++, multiple Connections can share the same event handling method. The method uses the returned Connection object to determine which object caused the event.
If the Attributes property is set to adXactCommitRetaining or adXactAbortRetaining, a new transaction starts after committing or rolling back a transaction. Use the BeginTransComplete event to ignore all but the first transaction start event.
Visual C++ Example | Visual J++ Example | Visual Basic Example
ADO Event Handler Summary | BeginTrans, CommitTrans, and RollbackTrans Methods
Applies To: Connection Object