Web.WebUrlFromFolderUrlDirect method

SharePoint Online

Get web's full url from folder url.

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

public static Uri WebUrlFromFolderUrlDirect(
	ClientContext context,
	Uri folderFullUrl
)

Parameters

context
Type: Microsoft.SharePoint.Client.ClientContext
folderFullUrl
Type: System.Uri

Return value

Type: System.Uri
Show: