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:
© 2014 Microsoft