UserDefinedType.Script Method

Generates a Transact-SQL script that can be used to re-create the alias data type.

备注

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

重载列表

名称 Description
UserDefinedType.Script ()
Generates a Transact-SQL script that can be used to re-create the alias data type.
UserDefinedType.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the alias data type as specified by the script options.

请参阅

参考

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

其他资源

Scripting
Working with Data Types
使用 CLR 用户定义类型
CREATE TYPE (Transact-SQL)