Share via


ViewEvents.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 ViewEventSet
'Usage
Dim instance As ViewEvents 
Dim returnValue As ViewEventSet 

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

Return Value

Type: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that specifies the set of view events.

Examples

Handling SMO Events

See Also

Reference

ViewEvents Class

Microsoft.SqlServer.Management.Smo Namespace