DataType.DateTime2 Method (Int32)
datetime2 is an extension of the existing datetime type. It has a large date range and large default fractional precision. It has a length of at least 19 positions.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
The returned DateTime2 object constructor is initialized with the scale value that determines the precision of the DateTime2 object.