Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将通知发送到与给定名称匹配的所有队列。
public ul_u_long ULSendNotification( SQLCA * sqlca, char const * queue_name, char const * event_name, char const * parameters )
sqlca 指向 SQLCA 的指针。
queue_name NULL 表示缺省连接队列。
event_name 要注册的系统事件或用户定义的事件。
parameters 创建参数;目前未使用,设置为 NULL。
已发送的通知数(匹配队列的数目)。
这包括当前连接中任何此类队列。此调用不会阻塞。使用特殊队列名称 "*" 以发送到所有队列。给定的事件名称不需要与任何系统或用户定义的事件对应;传递它仅仅是为读取时标识通知,并且它只对发送者和接收者有意义。parameters 变量会指定分号分隔的 "名称=值" 对选项列表。在读取通知后,参数值使用 GetNotificationParameter() 读取。