Share via


Area.Web Property

NOTE: This API is now obsolete.

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

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public ReadOnly Property Web As SPWeb
    Get
'Usage
Dim instance As Area
Dim value As SPWeb

value = instance.Web
[ObsoleteAttribute("This class is obsolete.")]
public SPWeb Web { get; }

Property Value

Type: Microsoft.SharePoint.SPWeb
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

Reference

Area Class

Area Members

Microsoft.SharePoint.Portal.SiteData Namespace