FireDAC.Comp.Client.TFDCustomCommand.ConnectionName
Delphi
property ConnectionName: String read FConnectionName write SetConnectionName stored IsCNNS;
C++
__property System::UnicodeString ConnectionName = {read=FConnectionName, write=SetConnectionName, stored=IsCNNS};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomCommand |
Description
Specifies the name of the connection.
The value of the ConnectionName property specifies the name of the connection. It must match the:
- Name of one of connection definitions, either stored in the external file or created on the fly.
- ConnectionName of one of the TFDConnection objects.
Alternatively it may be specified by the value of the Connection property. The value of the ConnectionName property must be specified before calling Prepare. If it is specified by the name of one of the connection definitions, then FireDAC will transparently create a connection object and link it with the command.