DatabaseDdlTriggerEvent.Addition Operator
Creates a database ddl trigger event set by performing an addition operation on two DatabaseDdlTriggerEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
Syntax
'Declaration
Public Shared Operator + ( _
eventLeft As DatabaseDdlTriggerEvent, _
eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- 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.
Return Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database ddl trigger events.