FireDAC.Comp.Client.TFDCustomCommand.ReleaseConnection
Delphi
procedure ReleaseConnection(var AConnection: TFDCustomConnection);
C++
void __fastcall ReleaseConnection(TFDCustomConnection* &AConnection);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomCommand |
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.