Help Center

CAdoEvents.DisConnectmethod

Called after a connection ends.

Databasesmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION Disconnect (BYVAL adStatus AS EventStatusEnum PTR, BYVAL pConnection AS Afx_ADOConnection PTR) AS HRESULT

Parameters

NameDescription
adStatusAn EventStatusEnum value indicating the success or failure of the operation that triggered the event.
pConnectionThe Connection object that fired the event.

Description

Called after a connection ends.

Reference