共用方式為


SPAlternateUrl constructor (String, SPUrlZone)

初始化指定傳入 url, SPAlternateUrl類別的新執行個體與 URL 區域。

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

Syntax

'宣告
Public Sub New ( _
    incomingUrl As String, _
    urlZone As SPUrlZone _
)
'用途
Dim incomingUrl As String
Dim urlZone As SPUrlZone

Dim instance As New SPAlternateUrl(incomingUrl, _
    urlZone)
public SPAlternateUrl(
    string incomingUrl,
    SPUrlZone urlZone
)

參數

  • incomingUrl
    Type: System.String

    從要求內容或較高層級的物件模型呼叫原始 URL。傳入 URL 可以一次只能指定Microsoft SharePoint Foundation伺服器陣列中。

請參閱

參照

SPAlternateUrl class

SPAlternateUrl members

SPAlternateUrl overload

Microsoft.SharePoint.Administration namespace