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)