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

SiteConfigResource.WebsiteTimeZone 属性

定义

获取或设置站点用于生成时间戳的时区。 与 Linux 和 Windows App 服务兼容。 设置WEBSITE_TIME_ZONE应用设置优先于此配置。对于 Linux,需要 tz 数据库值 https://www.iana.org/time-zones (,请参阅 https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) 。 对于 Windows,需要HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones下列出的时区之一

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

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于