Area.Web Property (Microsoft.SharePoint.Portal.SiteData)
Contains the associated storage of this area, such as document libraries or lists.

Namespace: Microsoft.SharePoint.Portal.SiteData
Assembly: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Syntax

Visual Basic (Declaration)
Public ReadOnly Property Web As SPWeb
Visual Basic (Usage)
Dim instance As Area
Dim value As SPWeb

value = instance.Web
C#
public SPWeb Web { get; }

Property Value

String that represents the Web object that contains the associated storage of this area.
Remarks

An SPWeb object represents a SharePoint site. You should call the Area.Web.Close method for console applications written against the Microsoft Office SharePoint Portal Server 2003 object model. Your application might run out of memory if it does not call Area.Web.Close().This call is not needed for Web Parts and controls.

See Also

Tags :


Page view tracker