Partager via


Méthode Add

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
Public Shared Function Add ( _
    eventLeft As DatabaseDdlTriggerEvent, _
    eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Utilisation
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

Paramètres

Valeur de retour

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