dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / StopQueue Method / StopQueue(Boolean,Boolean,Boolean) Method
Specifies whether Enqueue should be disabled on this queue. true means disable Enqueue. false means do not alter the current setting.
Specifies whether Dequeue should be disabled on this queue. true means disable Dequeue. false means do not alter the current setting.
Specifies whether to wait for the completion of outstanding transactions. true means wait if there are any outstanding transactions. In this state no new transactions are allowed to enqueue to or dequeue from this queue. false means return immediately either with a success or an error.

In This Topic
    StopQueue(Boolean,Boolean,Boolean) Method
    In This Topic
    Disables enqueuing, dequeuing, or both for the specified queue, allowing to wait for the end of all outstanding transactions.
    Syntax
    'Declaration
     
    Public Overloads Sub StopQueue( _
       ByVal enqueue As Boolean, _
       ByVal dequeue As Boolean, _
       ByVal wait As Boolean _
    ) 
    public void StopQueue( 
       bool enqueue,
       bool dequeue,
       bool wait
    )

    Parameters

    enqueue
    Specifies whether Enqueue should be disabled on this queue. true means disable Enqueue. false means do not alter the current setting.
    dequeue
    Specifies whether Dequeue should be disabled on this queue. true means disable Dequeue. false means do not alter the current setting.
    wait
    Specifies whether to wait for the completion of outstanding transactions. true means wait if there are any outstanding transactions. In this state no new transactions are allowed to enqueue to or dequeue from this queue. false means return immediately either with a success or an error.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also