Partager via


DataType Constructor (UserDefinedType)

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    userDefinedType As UserDefinedType _
)
public DataType (
    UserDefinedType userDefinedType
)
public:
DataType (
    UserDefinedType^ userDefinedType
)
public DataType (
    UserDefinedType userDefinedType
)
public function DataType (
    userDefinedType : UserDefinedType
)

Paramètres

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

Notes

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.

Exemple

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

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Working with Data Types