Condividi tramite


Metodo GetEventSelection

Returns the currently selected event notifications.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function GetEventSelection As ServerEventSet
'Utilizzo
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

Valore restituito

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