DataType.DateTime2(Int32) 方法

定义

创建 SqlDataType.DateTime2 类型的数据类型

public static Microsoft.SqlServer.Management.Smo.DataType DateTime2(int scale);
static member DateTime2 : int -> Microsoft.SqlServer.Management.Smo.DataType
Public Shared Function DateTime2 (scale As Integer) As DataType

参数

scale
Int32

返回

适用于