Web.WebUrlFromFolderUrlDirect method
Get web's full url from folder url.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function WebUrlFromFolderUrlDirect ( _
context As ClientContext, _
folderFullUrl As Uri _
) As Uri
'Usage
Dim context As ClientContext
Dim folderFullUrl As Uri
Dim returnValue As Uri
returnValue = Web.WebUrlFromFolderUrlDirect(context, _
folderFullUrl)
public static Uri WebUrlFromFolderUrlDirect(
ClientContext context,
Uri folderFullUrl
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientContext
- folderFullUrl
Type: System.Uri
Return value
Type: System.Uri