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

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

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

構文

'宣言
Public Sub New ( _
    sqlDataType As SqlDataType, _
    precisionOrMaxLengthOrScale As Integer _
)
'使用
Dim sqlDataType As SqlDataType
Dim precisionOrMaxLengthOrScale As Integer

Dim instance As New DataType(sqlDataType, _
    precisionOrMaxLengthOrScale)
public DataType(
    SqlDataType sqlDataType,
    int precisionOrMaxLengthOrScale
)
public:
DataType(
    SqlDataType sqlDataType, 
    int precisionOrMaxLengthOrScale
)
new : 
        sqlDataType:SqlDataType * 
        precisionOrMaxLengthOrScale:int -> DataType
public function DataType(
    sqlDataType : SqlDataType, 
    precisionOrMaxLengthOrScale : int
)

パラメーター