DataType Constructor (UserDefinedDataType)

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

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

Syntax

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

Parameters

Remarks

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

Examples

Working with Data Types

See Also

Reference

DataType Class

DataType Overload

Microsoft.SqlServer.Management.Smo Namespace