Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the absolute root of the URI for the given zone and appends the specified path to the end.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetResponseUri ( _
zone As SPUrlZone, _
path As String _
) As Uri
'Usage
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim path As String
Dim returnValue As Uri
returnValue = instance.GetResponseUri(zone, _
path)
public Uri GetResponseUri(
SPUrlZone zone,
string path
)
Parameters
zone
Type: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone object that represents the zone of the response URL.
path
Type: System.StringA string that contains a server-relative path to append to the end of the root.
Return Value
Type: System.Uri
A Uri object that provides the absolute root of the URI followed by the specified path.