Поделиться через


MessageTypeMapping Constructor (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 (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    serviceContract As ServiceContract, _
    name As String _
)
public MessageTypeMapping (
    ServiceContract serviceContract,
    string name
)
public:
MessageTypeMapping (
    ServiceContract^ serviceContract, 
    String^ name
)
public MessageTypeMapping (
    ServiceContract serviceContract, 
    String name
)
public function MessageTypeMapping (
    serviceContract : ServiceContract, 
    name : String
)

Параметры

  • serviceContract
    A ServiceContract object that specifies the contract in which the message type is used.

Замечания

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Пример

Readme_ServiceBrokerConfiguration

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

Знакомство с компонентом Service Broker
Managing Service Broker
Service Broker Programming