共用方式為


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 命名空間