dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / DropQueue Method / DropQueue(String,OracleConnection) Method
Name of the queue that is to be dropped.
An OracleConnection to the Oracle server, which provides the AQ functionality.

In This Topic
    DropQueue(String,OracleConnection) Method
    In This Topic
    Drops an existing queue.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub DropQueue( _
       ByVal name As String, _
       ByVal connection As OracleConnection _
    ) 
    public static void DropQueue( 
       string name,
       OracleConnection connection
    )

    Parameters

    name
    Name of the queue that is to be dropped.
    connection
    An OracleConnection to the Oracle server, which provides the AQ functionality.
    Remarks
    DropQueue is not allowed unless StopQueue has been called to disable the queue for both enqueuing and dequeuing. All the queue data is deleted as part of the drop operation.
    See Also