Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the DataType class based on a specified Microsoft SQL Server data type with the specified type.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
sqlDataType As SqlDataType, _
type As String _
)
public DataType (
SqlDataType sqlDataType,
string type
)
public:
DataType (
SqlDataType sqlDataType,
String^ type
)
public DataType (
SqlDataType sqlDataType,
String type
)
public function DataType (
sqlDataType : SqlDataType,
type : String
)
Paramètres
- sqlDataType
A SqlDataType object value that specifies the SQL Server data type.
- type
A String value that specifies the type of data type.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .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