Compartir a través de


Addition Operador

Creates a server event set by performing an addition operation on two ServerDdlTriggerEvent objects.

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

Sintaxis

'Declaración
Public Shared Operator + ( _
    eventLeft As ServerDdlTriggerEvent, _
    eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Uso
Dim eventLeft As ServerDdlTriggerEvent
Dim eventRight As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet

returnValue = (eventLeft + eventRight)
public static ServerDdlTriggerEventSet operator +(
    ServerDdlTriggerEvent eventLeft,
    ServerDdlTriggerEvent eventRight
)
public:
static ServerDdlTriggerEventSet^ operator +(
    ServerDdlTriggerEvent^ eventLeft, 
    ServerDdlTriggerEvent^ eventRight
)
static let inline (+)
        eventLeft:ServerDdlTriggerEvent * 
        eventRight:ServerDdlTriggerEvent  : ServerDdlTriggerEventSet
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL events.