Bde.DBTables.TDatabase.SessionAlias

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SessionAlias: Boolean read FSessionAlias;

C++

__property bool SessionAlias = {read=FSessionAlias, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDatabase

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:

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.

See Also