Compartilhar via


SPUtility.RebaseUri method

Leva a uma base de Url antiga, uma nova base de Url e substitui antigo com novo no URL original.

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

Syntax

'Declaração
Public Shared Function RebaseUri ( _
    oldBaseUri As Uri, _
    newBaseUri As Uri, _
    originalUri As Uri _
) As Uri
'Uso
Dim oldBaseUri As Uri
Dim newBaseUri As Uri
Dim originalUri As Uri
Dim returnValue As Uri

returnValue = SPUtility.RebaseUri(oldBaseUri, _
    newBaseUri, originalUri)
public static Uri RebaseUri(
    Uri oldBaseUri,
    Uri newBaseUri,
    Uri originalUri
)

Parâmetros

Valor retornado

Type: System.Uri

Ver também

Referência

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace