| Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 | 
 | 
| 
 | PDF · Mobi · ePub | 
Specifies the transactional behavior of the enqueue request.
Q.Visible = transaction_mode
Integer
This property is applicable only for an enqueue operation.
Possible values are:
ORAAQ_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.
ORAAQ_ENQ_ON_COMMIT (2) (Default)
The enqueue is part of the current transaction, and the message is visible only after the transaction commits.
Msg.Value = "The visibility option used in the enqueue call is " & _
                    "ORAAQ_ENQ_IMMEDIATE" 
Q.Visible = ORAAQ_ENQ_IMMEDIATE 
Q.Enqueue