DataType Constructor (SqlDataType, Int32, Int32)
Initializes a new instance of the DataType class based on a specified SQL Server data type with the specified precision and scale.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
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
)
Parameters
- 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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.