DataType コンストラクター (SqlDataType, Int32, Int32)

指定された SQL Server データ型に基づき、指定された有効桁数と小数点以下桁数を使用して、DataType クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
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
)

パラメーター