Data.SqlExpr.GetConnectionNames
Delphi
procedure GetConnectionNames(List: TStrings; Driver: string = ''; DesignMode: Boolean = True);
C++
extern DELPHI_PACKAGE void __fastcall GetConnectionNames(System::Classes::TStrings* List, System::UnicodeString Driver = System::UnicodeString(), bool DesignMode = true);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | Data.SqlExpr |
Description
Populates a string list with the names of all the available connections.
GetConnectionNames fills the string list specified by List
with the names of all the available connections.
List
is a string list object, created and maintained by the application, into which to store connection names.
The Driver
parameter represents the driver of the available connections.
DesignMode
indicates whether the names are fetched at design time (True) or at run time (False).