DataType Constructor (UserDefinedType)

Initializes a new instance of the DataType class based on a specified user-defined type.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
Public Sub New ( _
    userDefinedType As UserDefinedType _
)
public DataType (
    UserDefinedType userDefinedType
)
public:
DataType (
    UserDefinedType^ userDefinedType
)
public DataType (
    UserDefinedType userDefinedType
)
public function DataType (
    userDefinedType : UserDefinedType
)

参数

  • userDefinedType
    A UserDefinedType object variable that specifies a user-defined type.

备注

A user-defined type is a type based on Microsoft .NET types.

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

示例

How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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

其他资源

Working with Data Types