Opérateur DatabaseDdlTriggerEvent.Addition
Creates a database ddl trigger event set by performing an addition operation on two DatabaseDdlTriggerEvent objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventLeft As DatabaseDdlTriggerEvent, _
eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Utilisation
Dim eventLeft As DatabaseDdlTriggerEvent
Dim eventRight As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet
returnValue = (eventLeft + eventRight)
public static DatabaseDdlTriggerEventSet operator +(
DatabaseDdlTriggerEvent eventLeft,
DatabaseDdlTriggerEvent eventRight
)
public:
static DatabaseDdlTriggerEventSet^ operator +(
DatabaseDdlTriggerEvent^ eventLeft,
DatabaseDdlTriggerEvent^ eventRight
)
static let inline(+)
eventLeft:DatabaseDdlTriggerEvent *
eventRight:DatabaseDdlTriggerEvent : DatabaseDdlTriggerEventSet
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.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies one of the events to add.
- eventRight
Type : Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies one of the events to add.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database ddl trigger events.