Partilhar via


DefaultConstraint.Script Method

Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server default constraint.

Remarks

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

Overload List

Name Description
DefaultConstraint.Script ()
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server default constraint.
DefaultConstraint.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server default constraint as specified by the scripting options.

See Also

Reference

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

Other Resources

Scripting
Enforcing Data Integrity