Operador ServerTraceEventSet.Addition
Creates a server trace event set by performing an addition operation on a ServerTraceEvent object and a ServerTraceEventSet object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator + ( _
eventSet As ServerTraceEventSet, _
anEvent As ServerTraceEvent _
) As ServerTraceEventSet
'Uso
Dim eventSet As ServerTraceEventSet
Dim anEvent As ServerTraceEvent
Dim returnValue As ServerTraceEventSet
returnValue = (eventSet + anEvent)
public static ServerTraceEventSet operator +(
ServerTraceEventSet eventSet,
ServerTraceEvent anEvent
)
public:
static ServerTraceEventSet^ operator +(
ServerTraceEventSet^ eventSet,
ServerTraceEvent^ anEvent
)
static let inline(+)
eventSet:ServerTraceEventSet *
anEvent:ServerTraceEvent : ServerTraceEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerTraceEventSet object that specifies the server trace event set.
- anEvent
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 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