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