DataType 생성자 (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.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Sub New ( _
sqlDataType As SqlDataType, _
precision As Integer, _
scale As Integer _
)
‘사용 방법
Dim sqlDataType As SqlDataType
Dim precision As Integer
Dim scale As Integer
Dim instance As New DataType(sqlDataType, _
precision, scale)
public DataType(
SqlDataType sqlDataType,
int precision,
int scale
)
public:
DataType(
SqlDataType sqlDataType,
int precision,
int scale
)
new :
sqlDataType:SqlDataType *
precision:int *
scale:int -> DataType
public function DataType(
sqlDataType : SqlDataType,
precision : int,
scale : int
)
매개 변수
- sqlDataType
형식: Microsoft.SqlServer.Management.Smo. . :: . .SqlDataType
A SqlDataType object value that specifies the SQL Server data type.
- precision
형식: System. . :: . .Int32
An Int32 value that specifies the precision for numeric SQL Server data types.
- scale
형식: System. . :: . .Int32
An Int32 value that specifies the scale for numeric SQL Server data types.