Partager via


Opérateur Addition

Creates a stored procedure event set by performing an addition operation on two StoredProcedureEvent 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 StoredProcedureEvent, _
    eventRight As StoredProcedureEvent _
) As StoredProcedureEventSet
'Utilisation
Dim eventLeft As StoredProcedureEvent
Dim eventRight As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet

returnValue = (eventLeft + eventRight)
public static StoredProcedureEventSet operator +(
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ operator +(
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
static let inline (+)
        eventLeft:StoredProcedureEvent * 
        eventRight:StoredProcedureEvent  : StoredProcedureEventSet
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. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.