Partilhar via


Operador Addition

Creates a database event set by performing an addition operation on two DatabaseEvent objects.

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

Sintaxe

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

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