Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
声明稍后可以进行注册和触发的事件。
public ul_bool ULDeclareEvent(SQLCA * sqlca, char const * event_name)
sqlca 指向 SQLCA 的指针。
event_name 用户定义的新事件的名称。
如果事件声明成功,则返回 true;如果名称已经使用或无效,则返回 false。
UltraLite 预定义一些由对数据库或环境的操作触发的系统事件。此函数会声明用户定义的事件。用户定义的事件由 ULTriggerEvent 方法触发。事件的名称必须是唯一的。名称不区分大小写。