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


ServiceContractMapping Constructor (BrokerService, String)

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

Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

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

Параметры

  • brokerService
    A ServiceBroker object value that specifies the instance of Service Broker on which the service contract mapping is defined.

Замечания

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.

См. также

Справочник

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

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

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