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 precision and scale.
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, _
precision As Integer, _
scale As Integer _
)
public DataType (
SqlDataType sqlDataType,
int precision,
int scale
)
public:
DataType (
SqlDataType sqlDataType,
int precision,
int scale
)
public DataType (
SqlDataType sqlDataType,
int precision,
int scale
)
public function DataType (
sqlDataType : SqlDataType,
precision : int,
scale : int
)
Paramètres
- sqlDataType
A SqlDataType object value that specifies the SQL Server data type.
- precision
An Int32 value that specifies the precision for numeric SQL Server data types.
- scale
An Int32 value that specifies the scale for numeric SQL Server data types.
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