Compartilhar via


Método Add

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (em Microsoft.SqlServer.SqlEnum.dll)

Sintaxe

'Declaração
Public Shared Function Add ( _
    eventLeft As DatabaseDdlTriggerEvent, _
    eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Uso
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

Parâmetros

Valor de retorno

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