Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

SetNavigation Method

Applies To

OAQ

Description

Specifies the position of the message that will be retrieved.

Usage

void SetNavigation(int position) const throw(OException)

Arguments

position
An integer specifying the position of the message that will be retrieved.
Remarks

Possible values include :

· OAQ_DQ_FIRST_MSG (1) - Retrieves the first message that is available and matches the search criteria.

· OAQ_DQ_NEXT_MSG (3) (Default) - Retrieves the next message that is available and matches the search criteria.

· OAQ_DQ_NEXT_TRANS (2) - Skips the remainder of the current transaction group, if any, and retrieves the first message of the next transaction group. Used only if the message grouping is enabled for the queue.