Share via


ServerEvents.GetEventSelection Method

Returns the currently selected event notifications.

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

Syntax

'Declaration
Public Function GetEventSelection As ServerEventSet
'Usage
Dim instance As ServerEvents
Dim returnValue As ServerEventSet

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

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerEventSet
A ServerEventSet object that specifies the set of server events.