Share via


UserDefinedType.Script Method

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

Remarks

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

Overload List

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

See Also

Reference

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

Other Resources

Scripting
Working with Data Types
Working with CLR User-defined Types
CREATE TYPE (Transact-SQL)