ViewEvents.GetEventSelection Method ()

 

Applies To: SQL Server 2016 Preview

Returns the currently selected event notifications.

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

Syntax

public ViewEventSet GetEventSelection()
public:
ViewEventSet^ GetEventSelection()
member GetEventSelection : unit -> ViewEventSet
Public Function GetEventSelection As ViewEventSet

Return Value

Type: Microsoft.SqlServer.Management.Smo.ViewEventSet

A ViewEventSet object that specifies the set of view events.

Examples

Legacy Code Example

Handling SMO Events

See Also

ViewEvents Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top