SPGlobalAdmin.UseHostHeaderAsSiteName 属性
请注意:此 API 现在已过时。
SPSite类的HostHeaderIsSiteName属性用于指示是否使用主机标头来唯一地标识改为网站集。(在Windows SharePoint Services 2.0, UseHostHeaderAsSiteName属性了一个布尔值,指示是否主机标头已用作虚拟服务器上的网站集的名称,并保持向后兼容性。)
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Use Microsoft.SharePoint.SPSite.HostHeaderIsSiteName instead.", _
False)> _
Public ReadOnly Property UseHostHeaderAsSiteName As Boolean
Get
用法
Dim instance As SPGlobalAdmin
Dim value As Boolean
value = instance.UseHostHeaderAsSiteName
[ObsoleteAttribute("Use Microsoft.SharePoint.SPSite.HostHeaderIsSiteName instead.",
false)]
public bool UseHostHeaderAsSiteName { get; }
属性值
类型:System.Boolean
此值始终等于false.