Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » QAnywhere » QAnywhere リファレンス » QAnywhere .NET API リファレンス » クライアント用 QAnywhere .NET API (.NET 2.0) » QAManagerBase インタフェース

 

GetQueueDepth メソッド

指定されたフィルタに基づいて、キューの深さを返します。コミットされていない出力メッセージも含まれます。

構文
Visual Basic
Overloads Public Function GetQueueDepth( _
   ByVal queue As String, _
   ByVal filter As QueueDepthFilter _
) As Integer
C#
public int GetQueueDepth(
   string  address,
   QueueDepthFilter filter
);
パラメータ
  • queue   キュー名。

  • filter   着信メッセージ、送信メッセージ、またはすべてのメッセージを示すフィルタ。

戻り値

整数 - 受信されていないメッセージ数。

備考

キューの深さは、受信されていないメッセージの数です (たとえば、QAManagerBase.GetMessage メソッドを使用)。

例外
参照