Share via


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)

Syntax

'Declaration
Public Property Web As String
    Get
    Private Set
'Usage
Dim instance As DataContext
Dim value As String

value = instance.Web
public string Web { get; private set; }

Property value

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

See also

Reference

DataContext class

DataContext members

Microsoft.SharePoint.Linq namespace