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.
    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