Метод Add
Returns the database event set that was created by adding two database events together.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Function Add ( _
eventLeft As DatabaseEvent, _
eventRight As DatabaseEvent _
) As DatabaseEventSet
'Применение
Dim eventLeft As DatabaseEvent
Dim eventRight As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = DatabaseEvent.Add(eventLeft, _
eventRight)
public static DatabaseEventSet Add(
DatabaseEvent eventLeft,
DatabaseEvent eventRight
)
public:
static DatabaseEventSet^ Add(
DatabaseEvent^ eventLeft,
DatabaseEvent^ eventRight
)
static member Add :
eventLeft:DatabaseEvent *
eventRight:DatabaseEvent -> DatabaseEventSet
public static function Add(
eventLeft : DatabaseEvent,
eventRight : DatabaseEvent
) : DatabaseEventSet
Параметры
- eventLeft
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies one database event.
- eventRight
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the other database event.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events that are created by adding two database events.