Data.Win.ADODB.TADOConnection.DoDisconnect
Delphi
procedure DoDisconnect; override;
C++
virtual void __fastcall DoDisconnect(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOConnection |
Description
Provides the interface for a method that terminates the connection.
Data.Win.ADODB.TADOConnection.DoDisconnect inherits from Data.DB.TCustomConnection.DoDisconnect. All content below this line refers to Data.DB.TCustomConnection.DoDisconnect.
Provides the interface for a method that terminates the connection.
The Connected property uses DoDisconnect to close a connection. Descendent classes override the DoDisconnect method to drop a connection. As implemented in TCustomConnection, DoDisconnect does nothing.