Partager via


Time méthode

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.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Function Time ( _
    scale As Integer _
) As DataType
'Utilisation
Dim scale As Integer
Dim returnValue As DataType

returnValue = DataType.Time(scale)
public static DataType Time(
    int scale
)
public:
static DataType^ Time(
    int scale
)
static member Time : 
        scale:int -> DataType 
public static function Time(
    scale : int
) : DataType

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies a Time definition and scale (precision) in the data type.

Notes

The returned Time object constructor is initialized with the scale value that determines the precision of the Time object.