Share via


ServiceQueueEvents.GetEventSelection Method

Returns the currently selected event notifications.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetEventSelection As ServiceQueueEventSet
'Usage
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

Return Value

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

Examples

Handling SMO Events

See Also

Reference

ServiceQueueEvents Class

Microsoft.SqlServer.Management.Smo.Broker Namespace