Partilhar via


Método ViewEvents.GetEventSelection

Returns the currently selected event notifications.

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

Sintaxe

'Declaração
Public Function GetEventSelection As ViewEventSet
'Uso
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

Valor de retorno

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

Exemplos

Manipulando eventos SMO

Consulte também

Referência

ViewEvents Classe

Namespace Microsoft.SqlServer.Management.Smo