Metodo ServerDdlTriggerEventSet.Add (ServerDdlTriggerEventSet, ServerDdlTriggerEvent)
Returns a set of server DDL events after adding a new server DDL event to the specified set of events.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
Sintassi
'Dichiarazione
Public Shared Function Add ( _
eventSet As ServerDdlTriggerEventSet, _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Utilizzo
Dim eventSet As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = ServerDdlTriggerEventSet.Add(eventSet, _
anEvent)
public static ServerDdlTriggerEventSet Add(
ServerDdlTriggerEventSet eventSet,
ServerDdlTriggerEvent anEvent
)
public:
static ServerDdlTriggerEventSet^ Add(
ServerDdlTriggerEventSet^ eventSet,
ServerDdlTriggerEvent^ anEvent
)
static member Add :
eventSet:ServerDdlTriggerEventSet *
anEvent:ServerDdlTriggerEvent -> ServerDdlTriggerEventSet
public static function Add(
eventSet : ServerDdlTriggerEventSet,
anEvent : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet
Parametri
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object that specifies the event.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the new event.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet that represents the event set.
Esempi
Vedere anche
Riferimento
ServerDdlTriggerEventSet Classe
Spazio dei nomi Microsoft.SqlServer.Management.Smo