共用方式為


ServiceContractEvents.GetEventSelection 方法

Returns the currently selected event notifications.

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function GetEventSelection As ObjectEventSet
'用途
Dim instance As ServiceContractEvents 
Dim returnValue As ObjectEventSet 

returnValue = instance.GetEventSelection()
public ObjectEventSet GetEventSelection()
public:
ObjectEventSet^ GetEventSelection()
member GetEventSelection : unit -> ObjectEventSet
public function GetEventSelection() : ObjectEventSet

傳回值

型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object that specifies the set of service contract events.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceContractEvents 類別

Microsoft.SqlServer.Management.Smo.Broker 命名空間

其他資源

管理 Service Broker

概觀 (Service Broker)