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 _
)
public DataType (
UserDefinedType userDefinedType
)
public:
DataType (
UserDefinedType^ userDefinedType
)
public DataType (
UserDefinedType userDefinedType
)
public function DataType (
userDefinedType : UserDefinedType
)
Parameters
- userDefinedType
A UserDefinedType object variable that specifies a user-defined type.
Remarks
A user-defined type is a type based on Microsoft .NET types.
This namespace, class, or member is supported only in version 2.0 of the.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