Bde.DBTables.TSession.IsAlias
Delphi
function IsAlias(const Name: string): Boolean;
C++
bool __fastcall IsAlias(const System::UnicodeString Name);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TSession |
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.