Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPUtility.RebaseUri method

SharePoint 2013

Takes an old Url base, a new Url base and replaces old with new in the original URL.

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

public static Uri RebaseUri(
	Uri oldBaseUri,
	Uri newBaseUri,
	Uri originalUri
)

Parameters

oldBaseUri
Type: System.Uri
newBaseUri
Type: System.Uri
originalUri
Type: System.Uri

Return value

Type: System.Uri
Show:
© 2015 Microsoft