Addition opérateur
Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventSet As ObjectEventSet, _
anEvent As ObjectEvent _
) As ObjectEventSet
'Utilisation
Dim eventSet As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = (eventSet + anEvent)
public static ObjectEventSet operator +(
ObjectEventSet eventSet,
ObjectEvent anEvent
)
public:
static ObjectEventSet^ operator +(
ObjectEventSet^ eventSet,
ObjectEvent^ anEvent
)
static let inline (+)
eventSet:ObjectEventSet *
anEvent:ObjectEvent : ObjectEventSet
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. . :: . .ObjectEventSet
An ObjectEventSet object that specifies the object event set.
- anEvent
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEvent
An ObjectEvent object that specifies the object events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object value that specifies a set of object events.
Voir aussi