Método ServerTraceEvent.Add
Returns a server trace event set by adding two server trace events.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Function Add ( _
eventLeft As ServerTraceEvent, _
eventRight As ServerTraceEvent _
) As ServerTraceEventSet
'Uso
Dim eventLeft As ServerTraceEvent
Dim eventRight As ServerTraceEvent
Dim returnValue As ServerTraceEventSet
returnValue = ServerTraceEvent.Add(eventLeft, _
eventRight)
public static ServerTraceEventSet Add(
ServerTraceEvent eventLeft,
ServerTraceEvent eventRight
)
public:
static ServerTraceEventSet^ Add(
ServerTraceEvent^ eventLeft,
ServerTraceEvent^ eventRight
)
static member Add :
eventLeft:ServerTraceEvent *
eventRight:ServerTraceEvent -> ServerTraceEventSet
public static function Add(
eventLeft : ServerTraceEvent,
eventRight : ServerTraceEvent
) : ServerTraceEventSet
Parâmetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies the server trace events.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies the server trace events.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerTraceEventSet object value that specifies a set of two server trace events.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Exemplos
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo
Outros recursos
Eventos de rastreamento para uso com notificações de eventos