June 2001
Intermediate to advanced
620 pages
19h 29m
English
Connection.Disconnect Event — (Versions 2.0, 2.1, 2.5, 2.6)
Private Sub Disconnect(adStatusAs ADODB.EventStatusEnum, _ ByValpConnectionAs ADODB.Connection)
The Disconnect event is raised once a connection has ended.
adStatus
An EventStatusEnum value indicating the status of the current
operation. The adStatus parameter is
always set to adStatusOK when the event is fired.
Setting the adStatus parameter to
adStatusUnwantedEvent before leaving the event
code means that this event will not be called again.
pConnection
The Connection object that fired this event.
Connection.ConnectComplete Event, EventStatusEnum Enumeration
Read now
Unlock full access