CreateNotificationQueue method

Create an event queue.

Syntax
Visual Basic
Public Sub CreateNotificationQueue( _
   ByVal queueName As String, _
   ByVal parameters As String _
)
C#
public void CreateNotificationQueue(
   string  queueName,
   string  parameters
);
Parameters
  • queueName   The name of the new queue.

  • parameters   Creation parameters; currently unused, set to NULL.

Remarks

Create an event notification queue for this connection. Queue names are scoped per connection, so different connections can create queues with the same name. When an event notification is sent, all queues in the database with a matching name receive (a separate instance of) the notification. Names are case insensitive. A default queue is created on demand for each connection when calling RegisterForEvent() if no queue is specified.

See also