SqlAssemblyEventSet.Addition Operator

Creates an assembly event set by performing an addition operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.

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

Syntax

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

returnValue = (eventSet + anEvent)
public static SqlAssemblyEventSet operator +(
    SqlAssemblyEventSet eventSet,
    SqlAssemblyEvent anEvent
)
public:
static SqlAssemblyEventSet^ operator +(
    SqlAssemblyEventSet^ eventSet, 
    SqlAssemblyEvent^ anEvent
)
static let inline(+)
        eventSet:SqlAssemblyEventSet * 
        anEvent:SqlAssemblyEvent  : SqlAssemblyEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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

Examples

Handling SMO Events

See Also

Reference

SqlAssemblyEventSet Class

Microsoft.SqlServer.Management.Smo Namespace