Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRSession.Destroy
TACRSession
Top 

Destroys the instance of a session component.

destructor Destroy;

Description
Do not call Destroy directly. For session components other than the default session, an application should call Free, which verifies that the session component is not nil before calling Destroy.

Warning: Never destroy the default session. Freeing of the default session is handled automatically when an application terminates.  

Destroy performs the following actions before calling its inherited destructor:
·Makes the session inactive, which closes all database connections.  
·Removes the session from the session list.  
·Resets database session references, if necessary.  
·Frees the list of database components associated with the session.  


© AidAim Software Accuracer: Benefits-bde Replacement Embedded Database For Delphi C\+\+ Builder Kyli