Condividi tramite


Operatore ViewEventSet.Addition

Creates a view event set by performing an addition operation on a ViewEvent object and a ViewEventSet object.

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

Sintassi

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

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

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object value that specifies a set of view events.

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ViewEventSet Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo