Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API Reference » UltraLite_Connection_iface class


DeclareEvent function

bool UltraLite_Connection_iface::DeclareEvent(
  const ULValue & event_name
  • event_name¬†¬† name for new user-defined event


Declare an event which can then be registered for and triggered.

UltraLite predefines some system events triggered by operations on the database or the environment. This function declares user-defined events. User-defined events are triggered with TriggerEvent function. The event name must be unique. Names are case insensitive.


ul_true if the event was declared successfully, ul_false if the name is already used or not valid.

See also