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