Share via


Web.GetWebUrlFromPageUrl method

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

Syntax

'Declaration
Public Shared Function GetWebUrlFromPageUrl ( _
    context As ClientRuntimeContext, _
    pageFullUrl As String _
) As ClientResult(Of String)
'Usage
Dim context As ClientRuntimeContext
Dim pageFullUrl As String
Dim returnValue As ClientResult(Of String)

returnValue = Web.GetWebUrlFromPageUrl(context, _
    pageFullUrl)
public static ClientResult<string> GetWebUrlFromPageUrl(
    ClientRuntimeContext context,
    string pageFullUrl
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace