共用方式為


DatabaseDdlTrigger Constructor

Initializes a new instance of the DatabaseDdlTrigger class.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
DatabaseDdlTrigger ()
Initializes a new instance of the DatabaseDdlTrigger class.
DatabaseDdlTrigger (Database, String)
Initializes a new instance of the DatabaseDdlTrigger class on the specified database and with the specified name.
DatabaseDdlTrigger (Database, String, DatabaseDdlTriggerEventSet, String)
Initializes a new instance of the DatabaseDdlTrigger class on the specified database with the specified name. The trigger responds to the specified event set and runs the specified batch.
DatabaseDdlTrigger (Database, String, DatabaseDdlTriggerEventSet, String, String, String)
Initializes a new instance of the DatabaseDdlTrigger class on the specified database with the specified name. The trigger responds to the specified event set and runs the specified batch.

請參閱

參考

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

其他資源

CREATE TRIGGER (Transact-SQL)
DDL 觸發程序