IBX.IBEvents.TIBEvents.AutoRegister

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoRegister: Boolean read GetAutoRegister write SetAutoRegister;

C++

__property bool AutoRegister = {read=GetAutoRegister, write=SetAutoRegister, nodefault};

Properties

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

Description

Specifies the AutoRegister on which to perform event alerter tasks.

When AutoRegister is true, the database automatically registers this component's events whenever it opens a connection to the InterBase server. When AutoRegister is false, you must explicitly register the events by setting the Registered property to true (or calling RegisterEvents) after the database connection is opened.

Note: The database always unregisters the events when it closes a connection. By setting AutoRegister to true, you do not need to explicitly re-register interest in the events when the database reopens a connection.