RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDBSession Interface

IDBSession is the interface for database sessions.

Pascal
IDBSession = interface;
C++
__interface IDBSession;

IDBSession is a generic interface for logging into a database session. Components that allow an application to provide a password for opening password-protected tables or databases implement IDBSession. This allows the global PasswordDialog function to work with any component that implements IDBSession to add or remove passwords.

Note: Component Method declarations that use IDBSession use the _di_IDBSession type instead. This type is a DelphiInterface wrapper around the IDBSession interface:

typedef System::DelphiInterfaceDelphiInterface_object< IDBSession >  _di_IDBSession;

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!