Addition 运算符

Creates a stored procedure event set by performing an addition operation on two StoredProcedureEvent objects.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared Operator + ( _
    eventLeft As StoredProcedureEvent, _
    eventRight As StoredProcedureEvent _
) As StoredProcedureEventSet
用法
Dim eventLeft As StoredProcedureEvent
Dim eventRight As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet

returnValue = (eventLeft + eventRight)
public static StoredProcedureEventSet operator +(
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ operator +(
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
static let inline (+)
        eventLeft:StoredProcedureEvent * 
        eventRight:StoredProcedureEvent  : StoredProcedureEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

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