TableEventSet.Addition Operator

Creates a table event set by performing an addition operation on a TableEvent object and a TableEventSet object.

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

Syntax

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

returnValue = (eventSet + anEvent)
public static TableEventSet operator +(
    TableEventSet eventSet,
    TableEvent anEvent
)
public:
static TableEventSet^ operator +(
    TableEventSet^ eventSet, 
    TableEvent^ anEvent
)
static let inline(+)
        eventSet:TableEventSet * 
        anEvent: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

TableEventSet Class

Microsoft.SqlServer.Management.Smo Namespace