FireDAC.Comp.Client.TFDCustomConnection.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TFDCustomConnection();

Properties

Type Visibility Source Unit Parent
destructor public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client 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