Bagikan melalui


DataType Constructor (UserDefinedType)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    userDefinedType As UserDefinedType _
)
'Usage
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
)

Parameters

Remarks

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

Examples

Working with Data Types

See Also

Reference

DataType Class

DataType Overload

Microsoft.SqlServer.Management.Smo Namespace