Data.SqlExpr.TSQLQuery.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLQuery

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TSQLQuery();

Description

Destroys the TSQLQuery instance.

Do not call Destroy directly in an application. Usually destruction of datasets is handled automatically. If an application creates its own instances of a dataset, however, and does not assign an Owner that is responsible for freeing the dataset, then the application should call Free, which verifies that the dataset reference is not nil before calling Destroy.

See Also