DeclareEvent function

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

Remarks

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.

Returns

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

See also