SPAlternateUrlCollection.GetResponseUrl Method (SPUrlZone)

Returns the appropriate URL to use when generating an outbound URL for the specified zone.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetResponseUrl ( _
    zone As SPUrlZone _
) As SPAlternateUrl
'Usage
Dim instance As SPAlternateUrlCollection
Dim zone As SPUrlZone
Dim returnValue As SPAlternateUrl

returnValue = instance.GetResponseUrl(zone)
public SPAlternateUrl GetResponseUrl(
    SPUrlZone zone
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.SPAlternateUrl
An SPAlternateUrl object that represents the URL. If the response URL for the specified zone cannot be found, this method returns the response URL for the Default zone. 

See Also

Reference

SPAlternateUrlCollection Class

SPAlternateUrlCollection Members

GetResponseUrl Overload

Microsoft.SharePoint.Administration Namespace