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 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_Connection_iface 类

 

TriggerEvent 函数

触发用户定义的事件(并将通知发送到所有已注册的队列)。

语法
ul_u_long UltraLite_Connection_iface::TriggerEvent(
  const ULValue & event_name,
  const ULValue & parameters
)
参数
  • event_name   要触发的系统事件或用户定义的事件的名称

  • parameters   参数选项列表或 NULL

返回值

已发送的事件通知的数目。

注释

这些参数值会指定分号分隔的 "名称=值" 对选项列表。在读取通知后,参数值使用 GetNotificationParameter 读取。

另请参见