Share via


Webs.WebUrlFromPageUrl Method

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/WebUrlFromPageUrl", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function WebUrlFromPageUrl ( _
    pageUrl As String _
) As String
'Usage
Dim instance As Webs
Dim pageUrl As String
Dim returnValue As String

returnValue = instance.WebUrlFromPageUrl(pageUrl)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/WebUrlFromPageUrl", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string WebUrlFromPageUrl(
    string pageUrl
)

Parameters

Return Value

Type: System.String

See Also

Reference

Webs Class

Webs Members

Microsoft.SharePoint.Portal.WebControls Namespace