Partilhar via


Operador ViewEvent.Addition

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared Operator + ( _
    eventLeft As ViewEvent, _
    eventRight As ViewEvent _
) As ViewEventSet
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

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

Exemplos

Manipulando eventos SMO

Consulte também

Referência

ViewEvent Classe

Namespace Microsoft.SqlServer.Management.Smo