Opérateur ViewEventSet.Addition
Creates a view event set by performing an addition operation on a ViewEvent object and a ViewEventSet object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventSet As ViewEventSet, _
anEvent As ViewEvent _
) As ViewEventSet
'Utilisation
Dim eventSet As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet
returnValue = (eventSet + anEvent)
public static ViewEventSet operator +(
ViewEventSet eventSet,
ViewEvent anEvent
)
public:
static ViewEventSet^ operator +(
ViewEventSet^ eventSet,
ViewEvent^ anEvent
)
static let inline(+)
eventSet:ViewEventSet *
anEvent:ViewEvent : ViewEventSet
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- eventSet
Type : Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that specifies the view event set.
- anEvent
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.