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
zone
Type: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone object.
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.