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