共用方式為


ServiceContractEvents.SubscribeToEvents Method

Specifies the service contract events to receive.

備註

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

多載清單

名稱 Description
ServiceContractEvents.SubscribeToEvents (ObjectEventSet)
Specifies the service contract events to receive.
ServiceContractEvents.SubscribeToEvents (ObjectEventSet, ServerEventHandler)
Specifies the service contract events to receive and the event handler that handles the events.

請參閱

參考

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

其他資源

Managing Service Broker
Service Broker 簡介