DataContext.Web property

Gets the full URL of the Web site whose data is represented by the DataContext object.

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

public string Web { get; private set; }

Property value

Type: System.String
A String that represents the full URL of the Web site.
Show: