Partilhar via


SPWebApplication.GetResponseUri Method (SPUrlZone, String)

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

  • path
    Type: System.String

    A 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.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

GetResponseUri Overload

Microsoft.SharePoint.Administration Namespace