次の方法で共有


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)

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