Freigeben über


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
)

Parameter

  • userDefinedType
    A UserDefinedType object variable that specifies a user-defined type.

Hinweise

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.

Beispiel

How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Working with Data Types