IBX.IBEvents.TIBEvents.Database

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Database: TIBDatabase read FDatabase write SetDatabase;

C++

__property Ibx::Ibdatabase::TIBDatabase* Database = {read=FDatabase, write=SetDatabase};

Properties

Type Visibility Source Unit Parent
property published
IBX.IBEvents.pas
IBX.IBEvents.hpp
IBX.IBEvents TIBEvents

Description

Specifies the database on which to perform event alerter tasks.

Use Database to specify the component that manages a connection to the InterBase server. This connection must be open for TIBEvents to register an interest in its events with the InterBase Event manager on that server.

When you set the Database property, TIBEvents automatically calls the database component's AddEventNotifier method so that it can register this component's events when it opens a connection (if AutoRegister is true), and so that it can unregister this component's events before closing the connection.