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 current SharePoint Web site
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected ReadOnly Property Web As SPWeb
Get
'Usage
Dim value As SPWeb
value = Me.Web
protected SPWeb Web { get; }
Property Value
Type: Microsoft.SharePoint.SPWeb
The Web site.