Bde.DBTables.TSession.GetAliasNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetAliasNames(List: TStrings);

C++

void __fastcall GetAliasNames(System::Classes::TStrings* List);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TSession

Description

Populates a string list with the names of persistent Borland Database Engine (BDE) aliases.

Call GetAliasNames to retrieve a list of persistent BDE aliases—those aliases that exist in persistent storage or in the BDE configuration file. List is a string list object, created and maintained by the application, into which the alias names are stored.

A ConfigMode property of the session determines whether an alias created in the context of this session is reported by GetAliasNames. If ConfigMode is cmAll, aliases created within the session are reported.

See Also


Code Examples