dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / CreateQueue Method / CreateQueue(String,String,OracleQueueOptions,OracleConnection) Method
Unique name for the queue to be created.
The name of queue table (existent on a server), which the queue will belong to.
Options for creating a queue.
An OracleConnection to the Oracle server, which provides the AQ functionality.

In This Topic
    CreateQueue(String,String,OracleQueueOptions,OracleConnection) Method
    In This Topic
    Creates a database-stored queue with corresponding options.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateQueue( _
       ByVal name As String, _
       ByVal queueTable As String, _
       ByVal queueOptions As OracleQueueOptions, _
       ByVal connection As OracleConnection _
    ) As OracleQueue
    public static OracleQueue CreateQueue( 
       string name,
       string queueTable,
       OracleQueueOptions queueOptions,
       OracleConnection connection
    )

    Parameters

    name
    Unique name for the queue to be created.
    queueTable
    The name of queue table (existent on a server), which the queue will belong to.
    queueOptions
    Options for creating a queue.
    connection
    An OracleConnection to the Oracle server, which provides the AQ functionality.

    Return Value

    OracleQueue instance, which corresponds to the queue created on a server.
    Remarks
    All queue names must be unique within a schema. After a queue is created with CreateQueue, it can be enabled by calling StartQueue method. By default, the queue is created with both enqueue and dequeue disabled.
    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