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 - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULConnection 类

 

GetNotificationParameter 方法

获取刚刚由 GetNotification() 读取的事件的参数值。

语法
Visual Basic
Public Function GetNotificationParameter( _
   ByVal queueName As String, _
   ByVal parameterName As String _
) As String
C#
public string  GetNotificationParameter(
   string  queueName,
   string  parameterName
);
参数
  • queueName   将对其等待的队列的名称。

  • parameterName   其值应返回的参数的名称。

注释

获取刚刚由 ULGetNotification() 读取的事件通知的参数。只有给定队列中来自最近读取的通知的参数可用。

如果找到参数,则返回参数值,否则返回空值。

另请参见