Aracılığıyla paylaş


StoredProcedureEventSet.Addition Operator

Creates a stored procedure event set by performing an addition operation on a StoredProcedureEvent object and a StoredProcedureEventSet object.

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

Syntax

'Bildirim
Public Shared Operator + ( _
    eventSet As StoredProcedureEventSet, _
    anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
'Kullanım
Dim eventSet As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.

Examples

Handling SMO Events

See Also

Reference

StoredProcedureEventSet Class

Microsoft.SqlServer.Management.Smo Namespace