DataType.Time Method
Returns values for any valid time of day between 00:00:00 and 23:59:59:9999999. It has a length of at least 8 positions and contains the time in hours,minutes, seconds and fractional seconds.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Shared Function Time ( _
scale As Integer _
) As DataType
public static DataType Time (
int scale
)
public:
static DataType^ Time (
int scale
)
public static DataType Time (
int scale
)
public static function Time (
scale : int
) : DataType
Parameters
- scale
Int32
Return Value
A DataType object value that specifies a Time definition and scale (precision) in the data type.
Remarks
The returned Time object constructor is initialized with the scale value that determines the precision of the Time object.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.