Check.Script Method

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

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
Check.Script ()
Generates a Transact-SQL script that can be used to re-create the check constraint.
Check.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the check constraint as specified by the script options.

请参阅

参考

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

其他资源

Scripting
Working with Database Objects
CHECK 约束
CREATE TABLE (Transact-SQL)