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)
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
zone
Type: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone value that specifies the zone.
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