次の方法で共有


SPVirtualServer.MakeFullUrl method

NOTE: This API is now obsolete.

Obsolete. Converts the server-relative URL of a site to a full URL that includes the name of the server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public Function MakeFullUrl ( _
    strUrl As String _
) As String
'Usage
Dim instance As SPVirtualServer
Dim strUrl As String
Dim returnValue As String

returnValue = instance.MakeFullUrl(strUrl)
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public string MakeFullUrl(
    string strUrl
)

Parameters

  • strUrl
    Type: System.String

    A string that contains the server-relative URL of a site (for example, /sites/).

Return value

Type: System.String
A string that contains the full URL (for example, https://Server_Name/sites/Site_Name).

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace