Aracılığıyla paylaş


SqlAssemblyEvent.Addition Operator

Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.

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

Syntax

'Bildirim
Public Shared Operator + ( _
    eventLeft As SqlAssemblyEvent, _
    eventRight As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Kullanım
Dim eventLeft As SqlAssemblyEvent
Dim eventRight As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet

returnValue = (eventLeft + eventRight)
public static SqlAssemblyEventSet operator +(
    SqlAssemblyEvent eventLeft,
    SqlAssemblyEvent eventRight
)
public:
static SqlAssemblyEventSet^ operator +(
    SqlAssemblyEvent^ eventLeft, 
    SqlAssemblyEvent^ eventRight
)
static let inline (+)
        eventLeft:SqlAssemblyEvent * 
        eventRight: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 two assembly events.

Examples

Handling SMO Events

See Also

Reference

SqlAssemblyEvent Class

Microsoft.SqlServer.Management.Smo Namespace