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.