共用方式為


SPWebApplication.AlternateUrls property

取得會路由傳送給 Web 應用程式的 Url 的集合,並指定其來自哪個區域。

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

Syntax

'宣告
Public ReadOnly Property AlternateUrls As SPAlternateUrlCollection
    Get
'用途
Dim instance As SPWebApplication
Dim value As SPAlternateUrlCollection

value = instance.AlternateUrls
public SPAlternateUrlCollection AlternateUrls { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPAlternateUrlCollection
SPAlternateUrlCollection 物件,代表集合的 Url 和其區域。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace