Método ServerEvents.GetTraceEventSelection
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 GetTraceEventSelection As ServerTraceEventSet
'Uso
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
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerEventSet object that specifies the set of server events.