Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Replaces the scheme, host, and port of the specified URI with a mapped alternate access URI.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function RebaseUriWithAlternateUri ( _
requestUri As Uri _
) As Uri
'Usage
Dim instance As SPAlternateUrlCollectionManager
Dim requestUri As Uri
Dim returnValue As Uri
returnValue = instance.RebaseUriWithAlternateUri(requestUri)
public Uri RebaseUriWithAlternateUri(
Uri requestUri
)
Parameters
requestUri
Type: System.UriA System.Uri object that specifies the request URI to rebuild using the correct response URI base.
Return Value
Type: System.Uri
A System.Uri object that represents the mapped alternate access URI.
See Also
Reference
SPAlternateUrlCollectionManager Class
SPAlternateUrlCollectionManager Members