Поделиться через


Метод Add

Returns a DatabaseDdlTriggerEventSet that is created by adding two DatabaseDdlTriggerEventobjects together.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SqlEnum (в Microsoft.SqlServer.SqlEnum.dll)

Синтаксис

'Декларация
Public Shared Function Add ( _
    eventLeft As DatabaseDdlTriggerEvent, _
    eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Применение
Dim eventLeft As DatabaseDdlTriggerEvent
Dim eventRight As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet

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

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEventSet
An DatabaseDdlTriggerEvent object value that specifies a set of two ddl trigger events