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)


Public Shared ReadOnly Property ContextUri As Uri
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


SPAlternateUrl class

SPAlternateUrl members

Microsoft.SharePoint.Administration namespace