Конструктор MessageTypeMapping (ServiceContract, String)
Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub New ( _
serviceContract As ServiceContract, _
name As String _
)
'Применение
Dim serviceContract As ServiceContract
Dim name As String
Dim instance As New MessageTypeMapping(serviceContract, _
name)
public MessageTypeMapping(
ServiceContract serviceContract,
string name
)
public:
MessageTypeMapping(
ServiceContract^ serviceContract,
String^ name
)
new :
serviceContract:ServiceContract *
name:string -> MessageTypeMapping
public function MessageTypeMapping(
serviceContract : ServiceContract,
name : String
)
Параметры
- serviceContract
Тип: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
A ServiceContract object that specifies the contract in which the message type is used.
- name
Тип: System.String
A String value that specifies the name of the MessageType object.
Примеры
Readme_ServiceBrokerConfiguration
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.Broker
Другие ресурсы
Общие сведения (компонент Service Broker)