Bde.DBTables.TSession.GetAliasDriverName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TSession

Delphi

function GetAliasDriverName(const AliasName: string): string;

C++

System::UnicodeString __fastcall GetAliasDriverName(const System::UnicodeString AliasName);

Description

Provides the name of the database driver used by a specified Borland Database Engine (BDE) alias associated with the session.

Call GetAliasDriverName to determine the BDE database driver used by a specific alias. AliasName is the name of the alias for which to return driver information.

For aliases corresponding to Paradox and dBASE tables, GetAliasDriverName returns "STANDARD". For ASCII tables the return value is "ASCIIDRV". For SQL databases, the driver name depends on the database server.

See Also