Condividi tramite


Operatore Addition

Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object.

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

Sintassi

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

returnValue = (eventSet + anEvent)
public static ObjectEventSet operator +(
    ObjectEventSet eventSet,
    ObjectEvent anEvent
)
public:
static ObjectEventSet^ operator +(
    ObjectEventSet^ eventSet, 
    ObjectEvent^ anEvent
)
static let inline (+)
        eventSet:ObjectEventSet * 
        anEvent: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.