FireDAC.Comp.Client.TFDCustomCommand.ReleaseConnection

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomCommand

Delphi

procedure ReleaseConnection(var AConnection: TFDCustomConnection);

C++

void __fastcall ReleaseConnection(TFDCustomConnection* &AConnection);

Description

Releases the reference to the actual connection object.

The ReleaseConnection method releases the connection object's reference, and decrements its usage count.

The command object automatically releases the connection, when calling Unprepare.

The AConnection parameter represents the reference to the connection that is released. It must be previously acquired by calling AcquireConnection.

See Also