RAD Studio VCL Reference
ContentsIndex
TSession Members Public Methods
Public Methods
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
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. 
 
Responds after the last constructor has executed. 
 
Copies the contents of another, similar object. 
 
Performs any necessary actions before the first destructor is called. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Disconnects from all databases, and closes the session. 
 
Closes a database connection associated with the current session. 
 
Creates an instance of a TSession component. 
 
Provides the interface for a method that processes message records. 
 
Removes a specified Borland Database Engine (BDE) alias from the session. 
 
Removes a specified Borland Database Engine (BDE) driver from the session. 
 
Destroys the instance of a session component. 
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Frees all temporary database components associated with a session if they are inactive. 
 
Checks if the current instance and the parameter are equal. 
 
Executes an action. 
 
This is the overview for the FieldAddress method overload. 
 
Indicates whether a given component is owned by the component. 
 
Searches a session's list of database components for a specified database. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Ensures that AComponent is notified that the component is going to be destroyed. 
 
Frees the interface reference for components that were created from COM classes. 
 
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. 
 
Returns a reference to the component associated by the implementing class. 
 
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. 
 
Returns a TComponent enumerator. 
 
Populates a string list with the names of all fields in a specified table. 
 
Returns an integer containing the hash code. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns a string used by the Object Inspector. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
Returns the containing Component. 
 
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. 
 
Verifies whether the component has a parent. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Establishes the component as the owner of a specified component. 
 
Returns the size in bytes of each instance of the object type. 
 
Determines whether or not a string value corresponds to an existing Borland Database Engine (BDE) database alias known to the session. 
 
Indicates whether the component implements a specified interface. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Adds or changes parameters for a Borland Database Engine (BDE) alias. 
 
Adds or changes parameters for a Borland Database Engine (BDE) driver. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Open 
Starts a session and makes it the current session. 
 
Opens an existing database, or creates a temporary database component and opens it. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Deletes all passwords previously added to the current session for accessing encrypted Paradox tables. 
 
Removes a specified component specified from the component's Components list. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Deletes a single password previously added to the current session for accessing an encrypted Paradox table. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Writes the current information in the Borland Database Engine (BDE) persistent store from memory to the BDE configuration file on disk. 
 
Identifies whether the component is a subcomponent. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Updates the state of an action. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.