SPSite.HostHeaderIsSiteName property
取得Boolean值,指定的主機標頭是否唯一識別 [網站集合使用而不是與伺服器相對的路徑。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'宣告
Public ReadOnly Property HostHeaderIsSiteName As Boolean
Get
'用途
Dim instance As SPSite
Dim value As Boolean
value = instance.HostHeaderIsSiteName
public bool HostHeaderIsSiteName { get; }
Type: System.Boolean
true如果使用主機標頭而非伺服器的相對路徑來唯一識別 [網站集合中。否則, false。