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)
Available in Sandboxed Solutions: No

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