Partilhar via


Trigger.Script Method

Generates a Transact-SQL Script that can be used to re-create the trigger.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name 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.

See Also

Reference

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

Other Resources

Scripting
Creating, Altering, and Removing Triggers
DML Triggers
CREATE TRIGGER (Transact-SQL)