Méthode DatabaseDdlTriggerEventSet.Add (DatabaseDdlTriggerEvent)
Returns a set of database DDL trigger events after adding a new event to the event referenced set.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Syntaxe
'Déclaration
Public Function Add ( _
anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Utilisation
Dim instance As DatabaseDdlTriggerEventSet
Dim anEvent As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet
returnValue = instance.Add(anEvent)
public DatabaseDdlTriggerEventSet Add(
DatabaseDdlTriggerEvent anEvent
)
public:
DatabaseDdlTriggerEventSet^ Add(
DatabaseDdlTriggerEvent^ anEvent
)
member Add :
anEvent:DatabaseDdlTriggerEvent -> DatabaseDdlTriggerEventSet
public function Add(
anEvent : DatabaseDdlTriggerEvent
) : DatabaseDdlTriggerEventSet
Paramètres
- anEvent
Type : Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies the event.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet that represents the event set.