Bde.DBTables.TDatabase.SessionAlias
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: Bde.DBTables.pas Bde.DBTables.hpp
| |
Unit: Bde.DBTables | |
Parent: TDatabase |
Delphi
property SessionAlias: Boolean read FSessionAlias;
C++
__property bool SessionAlias = {read=FSessionAlias, nodefault};
Description
Specifies whether a database component is using a session alias.
Examine SessionAlias to see whether a database component is using a session alias. If SessionAlias is true, a session alias is in use. If false, a session alias is not in use.
A session alias is automatically created for a database component if it:
- Uses the DriverName and Params properties instead of the AliasName property, and the Params property contains any parameters.
A session alias may also be created if an application permits the user to log into a server using a different user name than the one specified in the Params property.
A session alias exists only while the application is running. It is not stored in the BDE configuration file, and cannot be accessed from outside the application.