Addition 运算符

Creates a object event set by performing an addition operation on two ObjectEvent objects.

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

语法

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

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

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object value that specifies a set of object events.