Condividi tramite


Operatore Addition

Creates a object event set by performing an addition operation on two ObjectEvent objects.

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

Sintassi

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

returnValue = (eventLeft + eventRight)
public static ObjectEventSet operator +(
    ObjectEvent eventLeft,
    ObjectEvent eventRight
)
public:
static ObjectEventSet^ operator +(
    ObjectEvent^ eventLeft, 
    ObjectEvent^ eventRight
)
static let inline (+)
        eventLeft:ObjectEvent * 
        eventRight:ObjectEvent  : ObjectEventSet
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object value that specifies a set of object events.