Compartilhar via


Operador Addition

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

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

Sintaxe

'Declaração
Public Shared Operator + ( _
    eventSet As ViewEventSet, _
    anEvent As ViewEvent _
) As ViewEventSet
'Uso
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 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.