Metodo DatabaseDdlTriggerEvent.Add
Returns a DatabaseDdlTriggerEventSet that is created by adding two DatabaseDdlTriggerEventobjects together.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
Sintassi
'Dichiarazione
Public Shared Function Add ( _
eventLeft As DatabaseDdlTriggerEvent, _
eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Utilizzo
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
Parametri
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies one of the events to add.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies one of the events to add.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
An DatabaseDdlTriggerEvent object value that specifies a set of two ddl trigger events