Compartir a través de


Addition Operador

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

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