Opérateur ViewEvent.Addition
Creates a view event set by performing an addition operation on two ViewEvent objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventLeft As ViewEvent, _
eventRight As ViewEvent _
) As ViewEventSet
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- eventLeft
Type : Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that specifies the view events.
- eventRight
Type : Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that specifies the view events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object value that specifies a set of view events.