Compartir a través de


Addition Operador

Creates an assembly event set by performing an addition operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.

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

Sintaxis

'Declaración
Public Shared Operator + ( _
    eventSet As SqlAssemblyEventSet, _
    anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Uso
Dim eventSet As SqlAssemblyEventSet
Dim anEvent As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet

returnValue = (eventSet + anEvent)
public static SqlAssemblyEventSet operator +(
    SqlAssemblyEventSet eventSet,
    SqlAssemblyEvent anEvent
)
public:
static SqlAssemblyEventSet^ operator +(
    SqlAssemblyEventSet^ eventSet, 
    SqlAssemblyEvent^ anEvent
)
static let inline (+)
        eventSet:SqlAssemblyEventSet * 
        anEvent:SqlAssemblyEvent  : SqlAssemblyEventSet
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

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