Partager via


ServiceContractMapping Constructor (BrokerService, String)

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

Espace de noms: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
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
)

Paramètres

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

Notes

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

Exemple

Readme_ServiceBrokerConfiguration

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Service Broker Programming
Managing Service Broker
Présentation de Service Broker