共用方式為


SPWeb.NonHostHeaderUrl property

取得網站的完整 url 非隔離的 url。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property NonHostHeaderUrl As String
    Get
'用途
Dim instance As SPWeb
Dim value As String

value = instance.NonHostHeaderUrl
public string NonHostHeaderUrl { get; }

Property value

Type: System.String
字串,包含 web 的非隔離 URL。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace