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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere .NET API reference » QAnywhere .NET API for clients (.NET 2.0) » QAManagerBase interface


GetQueueDepth method

Returns the depth of a queue, based on a given filter, including uncommitted outgoing messages.

Visual Basic
Overloads Public Function GetQueueDepth( _
   ByVal queue As String, _
   ByVal filter As QueueDepthFilter _
) As Integer
public int GetQueueDepth(
   string  address,
   QueueDepthFilter filter
  • queue   The queue name.

  • filter   A filter indicating incoming messages, outgoing messages, or all messages.

Return value

INTEGER - The number of messages that have not been received.


The depth of the queue is the number of messages which have not been received (for example, using the QAManagerBase.GetMessage method).

See also