Compartir a través de


ViewEvents.GetEventSelection Método

Returns the currently selected event notifications.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 devuelto

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

Ejemplos

Controlar eventos SMO

Vea también

Referencia

ViewEvents Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo