你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedInstance.TimezoneId 属性

定义

获取或设置时区的 ID。 允许的值是 Windows 支持的时区。 Windows 在 KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones 下的注册表中保留有关支持的时区(包括 ID)的详细信息。 可以通过SQL Server查询 SELECT name AS timezone_id FROM sys.time_zone_info 来获取这些注册表值。 还可以通过在 PowerShell 中执行 [System.TimeZoneInfo]::GetSystemTimeZones () 来获取 ID 列表。 有效时区 ID 的示例是“太平洋标准时间”或“W”。 欧洲标准时间”。

[Newtonsoft.Json.JsonProperty(PropertyName="properties.timezoneId")]
public string TimezoneId { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.timezoneId")>]
member this.TimezoneId : string with get, set
Public Property TimezoneId As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于