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

SitePatchResource.HostNamesDisabled 属性

定义

获取或设置 <code>true</code> 以禁用应用的公共主机名;否则为 <code>false</code>。 如果 <code>true</code>,则只能通过 API 管理过程访问应用。

[Newtonsoft.Json.JsonProperty(PropertyName="properties.hostNamesDisabled")]
public bool? HostNamesDisabled { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.hostNamesDisabled")>]
member this.HostNamesDisabled : Nullable<bool> with get, set
Public Property HostNamesDisabled As Nullable(Of Boolean)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于