dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueTable Class / PurgeQueueTable Method / PurgeQueueTable(String,Boolean) Method
Specifies the purge condition to use when purging the queue table. The purge condition must be in the format of a SQL WHERE clause, and it is case-sensitive. The condition is based on the columns of aq$queue_table view.
If block is true, then an exclusive lock on all the queues in the queue table is held while purging the queue table. This will cause concurrent enqueuers and dequeuers to block while the queue table is purged. The purge call always succeeds if block is true. This will not block enqueuers and dequeuers, but it can cause the purge to fail with an error during high concurrency times.

In This Topic
    PurgeQueueTable(String,Boolean) Method
    In This Topic
    Purges messages from queue tables.
    Syntax
    'Declaration
     
    Public Overloads Sub PurgeQueueTable( _
       ByVal condition As String, _
       ByVal block As Boolean _
    ) 
    public void PurgeQueueTable( 
       string condition,
       bool block
    )

    Parameters

    condition
    Specifies the purge condition to use when purging the queue table. The purge condition must be in the format of a SQL WHERE clause, and it is case-sensitive. The condition is based on the columns of aq$queue_table view.
    block
    If block is true, then an exclusive lock on all the queues in the queue table is held while purging the queue table. This will cause concurrent enqueuers and dequeuers to block while the queue table is purged. The purge call always succeeds if block is true. This will not block enqueuers and dequeuers, but it can cause the purge to fail with an error during high concurrency times.
    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