Share via


SPSite.UpgradeRedirectUri Property

NOTE: This API is now obsolete.

Gets an object representation of the upgrade redirect uniform resource identifier (URI) of the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("This method is replaced by SPAlternateUrlCollection.GetRedirectUrl")> _
Public ReadOnly Property UpgradeRedirectUri As Uri
    Get
'Usage
Dim instance As SPSite
Dim value As Uri

value = instance.UpgradeRedirectUri
[ObsoleteAttribute("This method is replaced by SPAlternateUrlCollection.GetRedirectUrl")]
public Uri UpgradeRedirectUri { get; }

Property Value

Type: System.Uri
A Uri object that represents the URI.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace