Compartilhar via


Operador Addition

Creates a table event set by performing an addition operation on two TableEvent objects.

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

Sintaxe

'Declaração
Public Shared Operator + ( _
    eventLeft As TableEvent, _
    eventRight As TableEvent _
) As TableEventSet
'Uso
Dim eventLeft As TableEvent
Dim eventRight As TableEvent
Dim returnValue As TableEventSet

returnValue = (eventLeft + eventRight)
public static TableEventSet operator +(
    TableEvent eventLeft,
    TableEvent eventRight
)
public:
static TableEventSet^ operator +(
    TableEvent^ eventLeft, 
    TableEvent^ eventRight
)
static let inline (+)
        eventLeft:TableEvent * 
        eventRight:TableEvent  : TableEventSet
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. . :: . .TableEventSet
A TableEventSet object value that specifies a set of table events.