Condividi tramite


Operatore ServiceQueueEvent.Addition

Creates a service queue event set by performing an addition operation on two ServiceQueueEvent objects.

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

Sintassi

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

returnValue = (eventLeft + eventRight)
public static ServiceQueueEventSet operator +(
    ServiceQueueEvent eventLeft,
    ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ operator +(
    ServiceQueueEvent^ eventLeft, 
    ServiceQueueEvent^ eventRight
)
static let inline(+)
        eventLeft:ServiceQueueEvent * 
        eventRight: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

ServiceQueueEvent Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo