Opérateur DatabaseEvent.Addition
Creates a database event set by performing an addition operation on two DatabaseEvent 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 DatabaseEvent, _
eventRight As DatabaseEvent _
) As DatabaseEventSet
'Utilisation
Dim eventLeft As DatabaseEvent
Dim eventRight As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = (eventLeft + eventRight)
public static DatabaseEventSet operator +(
DatabaseEvent eventLeft,
DatabaseEvent eventRight
)
public:
static DatabaseEventSet^ operator +(
DatabaseEvent^ eventLeft,
DatabaseEvent^ eventRight
)
static let inline(+)
eventLeft:DatabaseEvent *
eventRight:DatabaseEvent : DatabaseEventSet
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.DatabaseEvent
A DatabaseEvent object that specifies the database events.
- eventRight
Type : Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the database events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events.