Метод 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.