This documentation is archived and is not being maintained.

SPWebApplication.GetResponseUri Method (SPUrlZone, String)

Windows SharePoint Services 3

Returns the absolute root of the URI for the given zone and appends the specified path to the end.

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

public Uri GetResponseUri(
	SPUrlZone zone,
	string path


Type: Microsoft.SharePoint.Administration.SPUrlZone
An SPUrlZone object representing the zone of the response URL.
Type: System.String
A string that contains a server-relative path to append to the end of the root.

Return Value

Type: System.Uri
A Uri object.