Name
Connection.BeginTransComplete Event — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
Private Sub BeginTransComplete(ByValTransactionLevel
As Long, _ ByValpError
As ADODB.Error, _adStatus
As ADODB.EventStatusEnum, _ ByValpConnection
As ADODB.Connection)
The BeginTransComplete event is raised after the BeginTrans method has completed its operation.
Arguments
-
TransactionLevel
A Long value indicating the nesting level of the new transaction.
-
pError
An Error object containing details about an error that occurred if the
adStatus
parameter is set toadStatusErrorsOccurred
.
-
adStatus
An EventStatusEnum value indicating the status of the current operation. If the
adStatus
parameter is set toadStatusOK
, the operation was successful. If theadStatus
parameter is set toadStatusErrorsOccurred
, the operation failed, and thepError
object contains the details regarding the error. By setting theadStatus
parameter toadStatusUnwantedEvent
, this event will not be called again.
-
pConnection
The Connection object that fired this event.
See Also
Connection.BeginTrans Method, Connection.CommitTransComplete Event, Connection.RollbackTransComplete Event, EventStatusEnum Enumeration
Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.