Compartir a través de


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 (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    serviceBroker As ServiceBroker, _
    name As String _
)
'Uso
Dim serviceBroker As ServiceBroker 
Dim name As String 

Dim instance As New MessageType(serviceBroker, _
    name)
public MessageType(
    ServiceBroker serviceBroker,
    string name
)
public:
MessageType(
    ServiceBroker^ serviceBroker, 
    String^ name
)
new : 
        serviceBroker:ServiceBroker * 
        name:string -> MessageType
public function MessageType(
    serviceBroker : ServiceBroker, 
    name : String
)

Parámetros

Ejemplos

Readme_ServiceBrokerConfiguration

Vea también

Referencia

MessageType Clase

Sobrecarga de MessageType

Espacio de nombres Microsoft.SqlServer.Management.Smo.Broker

Otros recursos

Desarrollo (Service Broker)

Administrar Service Broker

Información general (Service Broker)

CREATE MESSAGE TYPE (Transact-SQL)