Condividi tramite


Operatore ViewEvent.Addition

Creates a view event set by performing an addition operation on two ViewEvent objects.

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

Sintassi

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

returnValue = (eventLeft + eventRight)
public static ViewEventSet operator +(
    ViewEvent eventLeft,
    ViewEvent eventRight
)
public:
static ViewEventSet^ operator +(
    ViewEvent^ eventLeft, 
    ViewEvent^ eventRight
)
static let inline(+)
        eventLeft:ViewEvent * 
        eventRight: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

ViewEvent Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo