Condividi tramite


Operatore Addition

Creates a database data definition language (DDL) trigger event set by performing an addition operation on a DatabaseDdlTriggerEvent object and a DatabaseDdlTriggerEventSet object.

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

Sintassi

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

returnValue = (eventSet + anEvent)
public static DatabaseDdlTriggerEventSet operator +(
    DatabaseDdlTriggerEventSet eventSet,
    DatabaseDdlTriggerEvent anEvent
)
public:
static DatabaseDdlTriggerEventSet^ operator +(
    DatabaseDdlTriggerEventSet^ eventSet, 
    DatabaseDdlTriggerEvent^ anEvent
)
static let inline (+)
        eventSet:DatabaseDdlTriggerEventSet * 
        anEvent:DatabaseDdlTriggerEvent  : DatabaseDdlTriggerEventSet
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database DDL trigger events.