This documentation is archived and is not being maintained.

SPWebApplication.GetResponseUri Method (SPUrlZone)

Windows SharePoint Services 3

Returns the absolute root of the URI for the given zone.

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

public Uri GetResponseUri(
	SPUrlZone zone

Return Value

Type: System.Uri
A Uri object.

Response URLs are always in the form: scheme://host:port.