FireDAC.Phys.ODBCBase.TFDPhysODBCBaseDriverLink.GetDSNs

From RAD Studio API Documentation
Jump to: navigation, search

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

AList: TStrings

A list to fill by the DSN names.

AWithDescription: Boolean = False

Set to True to return the list with descriptions.

See Also