ServerDdlTrigger Constructor

Initializes a new instance of the ServerDdlTrigger class.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
ServerDdlTrigger ()
Initializes a new instance of the ServerDdlTrigger class.
ServerDdlTrigger (Server, String)
Initializes a new instance of the ServerDdlTrigger class on the specified instance of Microsoft SQL Server and with the specified name.
ServerDdlTrigger (Server, String, ServerDdlTriggerEventSet, String)
Initializes a new instance of the ServerDdlTrigger class on the specified database with the specified name. The trigger responds to the specified event set and runs the specified batch.
ServerDdlTrigger (Server, String, ServerDdlTriggerEventSet, String, String, String)
Initializes a new instance of the ServerDdlTrigger class on the specified instance of Microsoft SQL Server and with the specified name. The trigger responds to the specified event set and runs the specified batch.

请参阅

参考

ServerDdlTrigger Class
ServerDdlTrigger Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Creating, Altering, and Removing Triggers
DDL 触发器
CREATE TRIGGER (Transact-SQL)