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

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


DeclareEvent function

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

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


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


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.

See also