Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the ServerDdlTrigger class on the specified instance of Microsoft SQL Server and with the specified name.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
server As Server, _
name As String _
)
public ServerDdlTrigger (
Server server,
string name
)
public:
ServerDdlTrigger (
Server^ server,
String^ name
)
public ServerDdlTrigger (
Server server,
String name
)
public function ServerDdlTrigger (
server : Server,
name : String
)
Paramètres
- server
A Server object value that specifies the instance of SQL Server on which the database data definition language (DDL) trigger is created.
- name
A String value that specifies the name of the database DDL trigger.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Exemple
How to: Create, Alter, and Remove a Trigger in Visual Basic .NET
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
ServerDdlTrigger Class
ServerDdlTrigger Members
Microsoft.SqlServer.Management.Smo Namespace
Autres ressources
Creating, Altering, and Removing Triggers
Déclencheurs DDL
CREATE TRIGGER (Transact-SQL)