AdoConnectionEvents:CommitTransComplete()

<< Click to Display Table of Contents >>

Navigation:  Ado Events > AdoConnectionEvents Class >

AdoConnectionEvents:CommitTransComplete()

Previous pageReturn to chapter overviewNext page

Purpose

This method is called after a transaction was committed with the ComitTrans() method

 

Prototype

METHOD CommitTransComplete ( oError , lStatus , oConn  )    CLASS AdoConnectionEvents

 

Argument(s)

oError        An Error object. It describes the error that occurred if the value of lStatus is adStatusErrorsOccurred; otherwise it is not set

lStatus        An AdoEventStatusEnum status value. This parameter is set to adStatusOK if the operation that caused the event was successful, or to adStatusErrorsOccurred if the operation failed

oConn        The Connection object for which this event occurred

 

 

Description

You can prevent subsequent notifications by setting the lStatus parameter to adStatusUnwantedEvent before the event returns.

 

See Also

AdoConnectionEvents, AdoEventStatusEnum, AdoConnection:CommitTrans(), AdoError