Condividi tramite


Metodo ServerEvents.GetTraceEventSelection

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 GetTraceEventSelection As ServerTraceEventSet
'Utilizzo
Dim instance As ServerEvents 
Dim returnValue As ServerTraceEventSet 

returnValue = instance.GetTraceEventSelection()
public ServerTraceEventSet GetTraceEventSelection()
public:
ServerTraceEventSet^ GetTraceEventSelection()
member GetTraceEventSelection : unit -> ServerTraceEventSet
public function GetTraceEventSelection() : ServerTraceEventSet

Valore restituito

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

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ServerEvents Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo