Data.SqlExpr.TSQLConnection.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TSQLConnection();

Properties

Type Visibility Source Unit Parent
destructor public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLConnection

Description

Destroys the SQL connection object.

To free a TSQLConnection instance, do not call Destroy. Instead, call Free. Free verifies that the ADO connection is not nil, and only then calls Destroy.

There is no need to explicitly free instances of TSQLConnection that were created with an Owner.

See Also