Compartir a través de


ServiceQueue Constructor (ServiceBroker, String)

Initializes a new instance of the ServiceQueue class on the specified instance of Service Broker and with the specified name.

Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    serviceBroker As ServiceBroker, _
    name As String _
)
public ServiceQueue (
    ServiceBroker serviceBroker,
    string name
)
public:
ServiceQueue (
    ServiceBroker^ serviceBroker, 
    String^ name
)
public ServiceQueue (
    ServiceBroker serviceBroker, 
    String name
)
public function ServiceQueue (
    serviceBroker : ServiceBroker, 
    name : String
)

Parámetros

  • serviceBroker
    A ServiceBroker object value that specifies the instance of Service Broker on which the service queue is defined.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

Readme_ServiceBrokerConfiguration

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ServiceQueue Class
ServiceQueue Members
Microsoft.SqlServer.Management.Smo.Broker Namespace

Otros recursos

Service Broker Programming
Managing Service Broker
Introducción a Service Broker
CREATE QUEUE (Transact-SQL)