ViewEvent.Add 方法

Adds two view events to the event set.

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

语法

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

returnValue = ViewEvent.Add(eventLeft, _
    eventRight)
public static ViewEventSet Add(
    ViewEvent eventLeft,
    ViewEvent eventRight
)
public:
static ViewEventSet^ Add(
    ViewEvent^ eventLeft, 
    ViewEvent^ eventRight
)
static member Add : 
        eventLeft:ViewEvent * 
        eventRight:ViewEvent -> ViewEventSet
public static function Add(
    eventLeft : ViewEvent, 
    eventRight : ViewEvent
) : ViewEventSet

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.ViewEventSet
The event set with added event.

示例

处理 SMO 事件

请参阅

参考

ViewEvent 类

Microsoft.SqlServer.Management.Smo 命名空间