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 - M-Business Anywhere 编程 » UltraLite for M-Business Anywhere API 参考 » Connection 类

 

getNotification 方法

读取一个事件通知,同时返回该事件的名称。

语法
String getNotification( String queue_name, UInt32 wait_ms)
参数
  • queue_name   事件通知队列的名称;对于缺省连接队列为 NULL。

  • wait_ms   最长等待时间,以毫秒为单位。传递 UL_READ_WAIT_INFINITE 可无限期等待。

另请参见