PageUrlNormalization.SetUrl Method (Uri, PageUrlNormalizationOption)
Allows the caller to pass in the URL to be normalized and the PageUrlNormalizationOption object. The normalized URL is stored in server cache for that request.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Sub SetUrl ( _
url As Uri, _
option As PageUrlNormalizationOption _
)
'Usage
Dim url As Uri
Dim option As PageUrlNormalizationOptionPageUrlNormalization.SetUrl(url, option)
public static void SetUrl(
Uri url,
PageUrlNormalizationOption option
)
Parameters
url
Type: System.UriA URI that represents the passed URL.
option
Type: Microsoft.SharePoint.Utilities.PageUrlNormalizationOptionAn object that represents the PageUrlNormalizationOption.