DatabaseEvents.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 DatabaseEventSet
'Usage
Dim instance As DatabaseEvents
Dim returnValue As DatabaseEventSet

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

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object that specifies the set of database events.