Partager via


DataType.DateTime2(Int32) Method

Definition

Creates a DataType of type 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

Parameters

scale
Int32

Returns

Applies to