Data.DB.IDBSession

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

IDBSession = interface

C++

__interface  INTERFACE_UUID("{CC2448FB-B672-4BA2-93F7-77CBEDA815FE}") IDBSession  : public System::IInterface

Properties

Type Visibility Source Unit Parent
interface
class
public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

IDBSession is the interface for database sessions.

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;



See Also