Partager via


Méthode Add

Adds a DDL trigger to the collection.

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

Syntaxe

'Déclaration
Public Sub Add ( _
    serverDdlTrigger As ServerDdlTrigger _
)
'Utilisation
Dim instance As ServerDdlTriggerCollection
Dim serverDdlTrigger As ServerDdlTrigger

instance.Add(serverDdlTrigger)
public void Add(
    ServerDdlTrigger serverDdlTrigger
)
public:
void Add(
    ServerDdlTrigger^ serverDdlTrigger
)
member Add : 
        serverDdlTrigger:ServerDdlTrigger -> unit 
public function Add(
    serverDdlTrigger : ServerDdlTrigger
)