ObjectEvent.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
參數
- eventLeft
型別:Microsoft.SqlServer.Management.Smo.ObjectEvent
A ObjectEvent object that specifies the object event.
- eventRight
型別:Microsoft.SqlServer.Management.Smo.ObjectEvent
A ObjectEvent object that specifies the object event.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object value that specifies a set of object events.