Bde.DBTables.TSession.IsAlias

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 IsAlias(const Name: string): Boolean;

C++

bool __fastcall IsAlias(const System::UnicodeString Name);

Description

Determines whether or not a string value corresponds to an existing Borland Database Engine (BDE) database alias known to the session.

Call IsAlias to determine if a string corresponds to the name of an existing BDE alias that can be used by the session. Name is the string to test.

If IsAlias returns true, Name is a valid alias.

Note: The aliases known to IsAlias depend on the ConfigMode property of the session. If ConfigMode is cmAll, then all aliases are available to the session.

See Also