共用方式為


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.