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