Share via


Méthode GetEventSelection

Returns the currently selected event notifications.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function GetEventSelection As ViewEventSet
'Utilisation
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

Valeur de retour

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