Partager via


Opérateur Addition

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Operator + ( _
    eventLeft As ServiceQueueEvent, _
    eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

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