Add 方法

Returns the object event set that is created by adding two object events.

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

语法

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

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

参数

返回值

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