Data.SqlExpr.GetConnectionNames

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: Data.SqlExpr

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);

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).


See Also