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 _
)
public DataType (
UserDefinedDataType userDefinedDataType
)
public:
DataType (
UserDefinedDataType^ userDefinedDataType
)
public DataType (
UserDefinedDataType userDefinedDataType
)
public function DataType (
userDefinedDataType : UserDefinedDataType
)
Parameters
- userDefinedDataType
A UserDefinedDataTypeCollection object variable that specifies a user-defined data type.
Remarks
A user-defined data type is a type based on Microsoft SQL Server data types.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace