<< Click to Display Table of Contents >> AdoConnectionEvents:Disconnect() |
![]() ![]() ![]() |
The ConnectComplete event is called after a connection ends
METHOD Disconnect ( lStatus , oConn ) CLASS AdoConnectionEvents
lStatus An AdoEventStatusEnum status value. When ConnectComplete is called, this parameter is set to adStatusCancel if a WillConnect event has requested cancellation of the pending connection
oConn The Connection object for which this event notification applies.
Before the event returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications. However, closing and reopening the Connection causes the event to occur again.
AdoConnectionEvents, AdoEventStatusEnum, AdoConnection:Close()