RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession Methods

The methods of the TSession class are listed here.

 
Name 
Description 
 
Initializes the component after the form file has been read into memory. 
 
This is ModifyConfigParams, a member of class TSession. 
 
Forwards notification messages to all owned components. 
 
Sets the value of the Name property. 
 
Name 
Description 
 
Adds a specified Borland Database Engine (BDE) alias to the session for an SQL database server. 
 
Adds a specified Borland Database Engine (BDE) driver to the session for an SQL database server. 
 
Adds a password to the current session for accessing encrypted Paradox or dBase tables. 
 
Adds a standard Borland Database Engine (BDE) alias to the session for Paradox, dBASE, or ASCII tables. 
 
Disconnects from all databases, and closes the session. 
 
Closes a database connection associated with the current session. 
 
Removes a specified Borland Database Engine (BDE) alias from the session. 
 
Removes a specified Borland Database Engine (BDE) driver from the session. 
 
Frees all temporary database components associated with a session if they are inactive. 
 
Searches a session's list of database components for a specified database. 
 
Provides the name of the database driver used by a specified Borland Database Engine (BDE) alias associated with the session. 
 
Populates a string list with the names of persistent Borland Database Engine (BDE) aliases. 
 
Retrieves the parameters associated with a specified Borland Database Engine (BDE) alias. 
 
Retrieves Borland Database Engine (BDE) configuration information. 
 
Populates a string list with the names of persistent Borland Database Engine (BDE) aliases and the names of all databases components known to the session. 
 
Populates a string list with the names of all Borland Database Engine (BDE) drivers available to the session. 
 
Populates a string list with the parameters for a specified Borland Database Engine (BDE) driver. 
 
Populates a string list with the names of all fields in a specified table. 
 
Invokes the OnPassword event handler for the session or displays the default password dialog box. 
 
Populates a string list with the names of all stored procedures associated with a specified database component that is connected to an SQL database server. 
 
Populates a string list with the names of tables associated with a specified database component. 
 
Determines whether or not a string value corresponds to an existing Borland Database Engine (BDE) database alias known to the session. 
 
Adds or changes parameters for a Borland Database Engine (BDE) alias. 
 
Adds or changes parameters for a Borland Database Engine (BDE) driver. 
 
Open 
Starts a session and makes it the current session. 
 
Opens an existing database, or creates a temporary database component and opens it. 
 
Deletes all passwords previously added to the current session for accessing encrypted Paradox tables. 
 
Deletes a single password previously added to the current session for accessing an encrypted Paradox table. 
 
Writes the current information in the Borland Database Engine (BDE) persistent store from memory to the BDE configuration file on disk. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!