SPAlternateUrl.ContextUri Property

Gets the appropriate response URL, also known as outgoing URL, for the context of the current request URL.

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

Syntax

'Declaration
Public Shared ReadOnly Property ContextUri As Uri
    Get
'Usage
Dim value As Uri

value = SPAlternateUrl.ContextUri
public static Uri ContextUri { get; }

Property Value

Type: System.Uri
A System.Uri object that represents the response, or outgoing, URL.

See Also

Reference

SPAlternateUrl Class

SPAlternateUrl Members

Microsoft.SharePoint.Administration Namespace