API:Datasnap.DSConnect.TDSProviderConnection.DoDisconnect
Delphi
procedure DoDisconnect; override;
C++
virtual void __fastcall DoDisconnect();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSConnect.pas Datasnap.DSConnect.hpp |
Datasnap.DSConnect | TDSProviderConnection |
Description
Provides the interface for a method that terminates the connection.
Datasnap.DSConnect.TDSProviderConnection.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.