Udostępnij przez


SqlCeFunctions.GetDate Metoda

Definicja

Zwraca bieżący znacznik czasu systemu bazy danych jako wartość daty/godziny bez przesunięcia strefy czasowej bazy danych. Ta wartość pochodzi z systemu operacyjnego komputera, na którym jest uruchomione wystąpienie SQL Server.

[System.Data.Entity.DbFunction("SqlServerCe", "GETDATE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public static Nullable<DateTime> GetDate();
static member GetDate : unit -> Nullable<DateTime>
Public Shared Function GetDate () As Nullable(Of DateTime)

Zwraca

Bieżąca sygnatura czasowa bazy danych.

Atrybuty

Dotyczy