FireDAC.Comp.Client.TFDConnection.ConnectionDefName

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property ConnectionDefName: string read GetConnectionDefName write SetConnectionDefName stored False default 0;

C++

__property ConnectionDefName = {default=0};

プロパティ

種類 可視性 ソース ユニット
property published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDConnection

説明

使用する接続定義の名前です。

FireDAC.Comp.Client.TFDConnection.ConnectionDefName は FireDAC.Comp.Client.TFDCustomConnection.ConnectionDefName を継承しています。以下の内容はすべて FireDAC.Comp.Client.TFDCustomConnection.ConnectionDefName を参照しています。


使用する接続定義の名前です。


ConnectionDefName プロパティには、既存の接続定義の 1 つの名前を指定します。接続定義は、ADConnectionDefs.ini に格納することも、動的に作成することもできます。

メモ: Connected プロパティが True であるとき、ConnectionDefName の設定を試みると、例外が発生します。

 FDConnection1.ConnectionDefName := 'ASA_Demo';
 FDConnection1.Connected := True;

関連項目