共用方式為


DataType 建構函式 (UserDefinedType)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    userDefinedType As UserDefinedType _
)
'用途
Dim userDefinedType As UserDefinedType

Dim instance As New DataType(userDefinedType)
public DataType(
    UserDefinedType userDefinedType
)
public:
DataType(
    UserDefinedType^ userDefinedType
)
new : 
        userDefinedType:UserDefinedType -> DataType
public function DataType(
    userDefinedType : UserDefinedType
)

參數

備註

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