Operatore ServiceQueueEventSet.Addition

Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

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

Sintassi

'Dichiarazione
Public Shared Operator + ( _
    eventSet As ServiceQueueEventSet, _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Utilizzo
Dim eventSet As ServiceQueueEventSet 
Dim anEvent As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = (eventSet + anEvent)
public static ServiceQueueEventSet operator +(
    ServiceQueueEventSet eventSet,
    ServiceQueueEvent anEvent
)
public:
static ServiceQueueEventSet^ operator +(
    ServiceQueueEventSet^ eventSet, 
    ServiceQueueEvent^ anEvent
)
static let inline(+)
        eventSet:ServiceQueueEventSet * 
        anEvent:ServiceQueueEvent  : ServiceQueueEventSet
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of service queue events.

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ServiceQueueEventSet Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo