ViewEvent.Addition 运算符

Creates a view event set by performing an addition operation on two ViewEvent objects.

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

语法

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

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

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object value that specifies a set of view events.

示例

处理 SMO 事件

请参阅

参考

ViewEvent 类

Microsoft.SqlServer.Management.Smo 命名空间