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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- pageFullUrl
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>