ServiceQueueEvents.GetEventSelection 方法

Returns the currently selected event notifications.

命名空间:  Microsoft.SqlServer.Management.Smo.Broker
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function GetEventSelection As ServiceQueueEventSet
用法
Dim instance As ServiceQueueEvents 
Dim returnValue As ServiceQueueEventSet 

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

返回值

类型:Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the set of service queue events.

示例

处理 SMO 事件

请参阅

参考

ServiceQueueEvents 类

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