Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Web site that is associated with the Windows SharePoint Services context.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property Web As SPWeb
Get
Dim instance As SPContext
Dim value As SPWeb
value = instance.Web
public SPWeb Web { get; }
Property Value
Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the Web site.