DefaultRuleBase.Script Method

Generates a Transact-SQL script that can be used to re-create the default or rule.

Remarks

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

Overload List

Name Description
DefaultRuleBase.Script ()
Generates a Transact-SQL script that can be used to re-create the default or rule.
DefaultRuleBase.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the default or rule as specified by the script options.

See Also

Reference

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

Other Resources

Scripting
Working with Database Objects
Rules
Defaults