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