RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBDataBase.RemoveEventNotifier Method

Removes an event notifier from the database's internal list so that the database no longer handles registering and unregistering interest in events.

Pascal
procedure RemoveEventNotifier(Notifier: IIBEventNotifier);
C++
__fastcall RemoveEventNotifier(IIBEventNotifier Notifier);

Call RemoveEventNotifier when you no longer want the database to automatically register and unregister an interest in server events when it opens and closes a connection to the server. For example, TIBEvents automatically calls RemoveEventNotifier when you change its Database property. 

Notifier is the event notifier previously added to the database's internal list by a call to AddEventNotifier

RemoveEventNotifier removes Notifier from its internal list of event notifiers.

Note: Removing an event notifier from the list does not first unregister an interest in any registered events.
 

 

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