RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.IsAlias Method

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

Pascal
function IsAlias(const Name: string): Boolean;
C++
__fastcall Boolean IsAlias(const AnsiString Name);

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 session's ConfigMode property. If ConfigMode is cmAll, then all aliases are available to the session.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!