FireDAC.Comp.Client.TFDCustomConnection.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomConnection

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TFDCustomConnection();

Description

Destroys the instance of a connection component.

FireDAC.Comp.Client.TFDCustomConnection.Destroy inherits from Data.DB.TCustomConnection.Destroy. All content below this line refers to Data.DB.TCustomConnection.Destroy.

Destroys the instance of a connection component.

Do not call Destroy directly in an application. Instead, call Free, which verifies that the reference to the connection component is not nil before calling Destroy

Destroy closes all active datasets and closes its connection before freeing all internal resources.

See Also