Operador ServerTraceEvent.Addition
Creates a server trace event set by performing an addition operation on two server trace event objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator + ( _
eventLeft As ServerTraceEvent, _
eventRight As ServerTraceEvent _
) As ServerTraceEventSet
'Uso
Dim eventLeft As ServerTraceEvent
Dim eventRight As ServerTraceEvent
Dim returnValue As ServerTraceEventSet
returnValue = (eventLeft + eventRight)
public static ServerTraceEventSet operator +(
ServerTraceEvent eventLeft,
ServerTraceEvent eventRight
)
public:
static ServerTraceEventSet^ operator +(
ServerTraceEvent^ eventLeft,
ServerTraceEvent^ eventRight
)
static let inline(+)
eventLeft:ServerTraceEvent *
eventRight:ServerTraceEvent : ServerTraceEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
The event left.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
The event right
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A server trace event set by performing an addition operation on two server trace event objects.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.