Name
Connection.ConnectComplete Event — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
Private Sub ConnectComplete(ByValpErrorAs ADODB.Error, _adStatusAs ADODB.EventStatusEnum, _ ByValpConnectionAs ADODB.Connection)
The ConnectComplete event is raised once a connection has been made.
Arguments
-
pError An Error object containing details about an error that occurred if the
adStatusparameter is set toadStatusErrorsOccurred.
-
adStatus An EventStatusEnum value indicating the status of the current operation. If the
adStatusparameter is set toadStatusOK, the operation was successful. If theadStatusparameter is set toadStatusErrorsOccurred, the operation failed, and thepErrorobject contains the details regarding the error. If theadStatusparameter is set toadStatusUnwantedEvent, this event will not be called again.
-
pConnection The Connection object that fired this event.
See Also
Connection.Disconnect Event, Connection.WillConnect Event, ConnectOptionEnum Enumeration, EventStatusEnum Enumeration
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access