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

SetVisibility Method

Applies To

OAQ

Description

Specifies the transactional behavior of the enqueue request.

Usage

void SetVisibility(int val) const throw(OException)

Arguments

val
An integer specifying the transactional behavior of the enqueue request.
Remarks

This property is applicable only for an Enqueue operation. Possible Values:

· OAQ_ENQ_IMMEDIATE (1) - The Enqueue operation constitutes a transaction of its own. Set this property to make the message visible immediately after the Enqueue operation.

· OAQ_ENQ_ON_COMMIT (2) (Default) - The Enqueue is part of the current transaction and the message will be visible only after the transaction commits.