Share via


TableEvent.Addition Operator

Creates a table event set by performing an addition operation on two TableEvent objects.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Operator + ( _
    eventLeft As TableEvent, _
    eventRight As TableEvent _
) As TableEventSet
'Usage
Dim eventLeft As TableEvent 
Dim eventRight As TableEvent 
Dim returnValue As TableEventSet 

returnValue = (eventLeft + eventRight)
public static TableEventSet operator +(
    TableEvent eventLeft,
    TableEvent eventRight
)
public:
static TableEventSet^ operator +(
    TableEvent^ eventLeft, 
    TableEvent^ eventRight
)
static let inline(+)
        eventLeft:TableEvent * 
        eventRight:TableEvent  : TableEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object value that specifies a set of table events.

Examples

Handling SMO Events

See Also

Reference

TableEvent Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events