SPWebApplication.GetResponseUri method (SPUrlZone)

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

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

Syntax

'Declaration
Public Function GetResponseUri ( _
    zone As SPUrlZone _
) As Uri
'Usage
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim returnValue As Uri

returnValue = instance.GetResponseUri(zone)
public Uri GetResponseUri(
    SPUrlZone zone
)

Parameters

Return value

Type: System.Uri
A Uri object that provides the absolute root of the URI for the specified zone.

Remarks

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

See also

Reference

SPWebApplication class

SPWebApplication members

GetResponseUri overload

Microsoft.SharePoint.Administration namespace