FireDAC.Phys.ODBCBase.TFDPhysODBCBaseDriverLink.GetDSNs
Delphi
procedure GetDSNs(AList: TStrings; AWithDescription: Boolean = False);
C++
void __fastcall GetDSNs(System::Classes::TStrings* AList, bool AWithDescription = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Phys.ODBCBase.pas FireDAC.Phys.ODBCBase.hpp |
FireDAC.Phys.ODBCBase | TFDPhysODBCBaseDriverLink |
Description
Returns the list of ODBC data source names.
Use the GetDSNs method to get the list of known ODBC data source names. Set AWithDescription
to True to return the list with descriptions in <DSN name>=<description>
format.
Parameters | Description |
---|---|
|
A list to fill by the DSN names. |
|
Set to True to return the list with descriptions. |