Operador SqlAssemblyEvent.Addition
Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator + ( _
eventLeft As SqlAssemblyEvent, _
eventRight As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Uso
Dim eventLeft As SqlAssemblyEvent
Dim eventRight As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = (eventLeft + eventRight)
public static SqlAssemblyEventSet operator +(
SqlAssemblyEvent eventLeft,
SqlAssemblyEvent eventRight
)
public:
static SqlAssemblyEventSet^ operator +(
SqlAssemblyEvent^ eventLeft,
SqlAssemblyEvent^ eventRight
)
static let inline(+)
eventLeft:SqlAssemblyEvent *
eventRight:SqlAssemblyEvent : SqlAssemblyEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly event.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
A SqlAssemblyEventSet object value that specifies a set of two assembly events.