Partilhar via


Método 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 ServerEventSet
'Uso
Dim instance As ServerEvents
Dim returnValue As ServerEventSet

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

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object that specifies the set of server events.