DeclareEvent function

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

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

Returns

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

Remarks

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