SPAlternateUrlCollectionManager.RebaseUriWithAlternateUri method (Uri, Nullable<SPUrlZone>)
取代指定區域的備用存取 URI 配置、 主機及連接埠的指定的 URI。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function RebaseUriWithAlternateUri ( _
requestUri As Uri, _
desiredZone As Nullable(Of SPUrlZone) _
) As Uri
'用途
Dim instance As SPAlternateUrlCollectionManager
Dim requestUri As Uri
Dim desiredZone As Nullable(Of SPUrlZone)
Dim returnValue As Uri
returnValue = instance.RebaseUriWithAlternateUri(requestUri, _
desiredZone)
public Uri RebaseUriWithAlternateUri(
Uri requestUri,
Nullable<SPUrlZone> desiredZone
)
參數
requestUri
Type: System.Uri指定要求 URI 重建使用正確的回應 URI 基底System.Uri物件。
desiredZone
Type: System.Nullable<SPUrlZone>指定之 URI 的回應的區域Microsoft.SharePoint.Administration.SPUrlZone值。
傳回值
Type: System.Uri
System.Uri物件,代表對應的備用存取 URI。
請參閱
參照
SPAlternateUrlCollectionManager class
SPAlternateUrlCollectionManager members