DataType 构造函数 (UserDefinedDataType)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    userDefinedDataType As UserDefinedDataType _
)
用法
Dim userDefinedDataType As UserDefinedDataType 

Dim instance As New DataType(userDefinedDataType)
public DataType(
    UserDefinedDataType userDefinedDataType
)
public:
DataType(
    UserDefinedDataType^ userDefinedDataType
)
new : 
        userDefinedDataType:UserDefinedDataType -> DataType
public function DataType(
    userDefinedDataType : UserDefinedDataType
)

参数

注释

A user-defined data type is a type based on SQL Server data types.

示例

使用数据类型

请参阅

参考

DataType 类

DataType 重载

Microsoft.SqlServer.Management.Smo 命名空间