Generates a Transact-SQL Script that can be used to re-create the trigger.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
重载列表
名称 | Description |
---|---|
Trigger.Script () |
Generates a Transact-SQL script that can be used to re-create the trigger.
|
Trigger.Script (ScriptingOptions) |
Generates a Transact-SQL script that can be used to re-create the trigger as specified by the script options.
|
请参阅
参考
Trigger Class
Trigger Members
Microsoft.SqlServer.Management.Smo Namespace
其他资源
Scripting
Creating, Altering, and Removing Triggers
DML 触发器
CREATE TRIGGER (Transact-SQL)