ServerTraceEventSet.Addition Operador
Creates a server trace event set by performing an addition operation on a ServerTraceEvent object and a ServerTraceEventSet object.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
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 devuelto
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerTraceEventSet object value that specifies a set of server trace events.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo