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


Оператор Addition

Creates a database ddl trigger event set by performing an addition operation on two DatabaseDdlTriggerEvent objects.

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

Синтаксис

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

returnValue = (eventLeft + eventRight)
public static DatabaseDdlTriggerEventSet operator +(
    DatabaseDdlTriggerEvent eventLeft,
    DatabaseDdlTriggerEvent eventRight
)
public:
static DatabaseDdlTriggerEventSet^ operator +(
    DatabaseDdlTriggerEvent^ eventLeft, 
    DatabaseDdlTriggerEvent^ eventRight
)
static let inline (+)
        eventLeft:DatabaseDdlTriggerEvent * 
        eventRight:DatabaseDdlTriggerEvent  : DatabaseDdlTriggerEventSet
JScript поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

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

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