MessageType Constructor (ServiceBroker, String)
Initializes a new instance of the MessageType class on the specified implementation 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 MessageType (
ServiceBroker serviceBroker,
string name
)
public:
MessageType (
ServiceBroker^ serviceBroker,
String^ name
)
public MessageType (
ServiceBroker serviceBroker,
String name
)
public function MessageType (
serviceBroker : ServiceBroker,
name : String
)
Parámetros
- serviceBroker
A ServiceBroker object value that specifies the implementation of Microsoft Service Broker on which the message type is defined.
- name
A String value that specifies the name of the message type.
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
MessageType Class
MessageType Members
Microsoft.SqlServer.Management.Smo.Broker Namespace
Otros recursos
Service Broker Programming
Managing Service Broker
Introducción a Service Broker
CREATE MESSAGE TYPE (Transact-SQL)