DateTimeOffset méthode
Returns values for year, month, day, valid time of day between 00:00:00 and 23:59:59:9999999 and offset, in hours, from UTC. It has a length of at least 25 positions.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Function DateTimeOffset ( _
scale As Integer _
) As DataType
'Utilisation
Dim scale As Integer
Dim returnValue As DataType
returnValue = DataType.DateTimeOffset(scale)
public static DataType DateTimeOffset(
int scale
)
public:
static DataType^ DateTimeOffset(
int scale
)
static member DateTimeOffset :
scale:int -> DataType
public static function DateTimeOffset(
scale : int
) : DataType
Paramètres
- scale
Type : System. . :: . .Int32
Int32
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies a DateTimeOffset definition in the data type.
Notes
The DateTimeOffset object constructor is initialized with the scale value that determines the precision of the DateTimeOffset object.
Voir aussi