Condividi tramite


Metodo Add

Returns a server trace event set by adding two server trace events.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared Function Add ( _
    eventLeft As ServerTraceEvent, _
    eventRight As ServerTraceEvent _
) As ServerTraceEventSet
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerTraceEventSet object value that specifies a set of two server trace events.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.