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 Reference » QAnywhere .NET API reference » QAnywhere .NET API for clients (.NET 2.0) » QAManagerBase interface


BrowseMessages method

This method is deprecated. Use the BrowseMessagesByQueue(string) method instead.

Visual Basic
Overloads Public Function BrowseMessages( _
   ByVal address As String _
) As System.Collections.IEnumerator
public System.Collections.IEnumerator BrowseMessages(
   string  address
  • address   The address of the messages.

Return value

An enumerator over the available messages.


Browses the next available messages waiting that have been sent to a given address. The address parameter takes the form store-id\queue-name or queue-name. The messages are just being browsed, so they cannot be acknowledged.

Because browsing messages allocates native resources, you should call the Reset() method of the enumerator when you are done with it. If it is not called, the native resources are not freed until this QAManagerBase object is freed.

Use QAManagerBase.GetMessage to receive messages so they can be acknowledged.

See also