Export (0) Print
Expand All

Area Class

SharePoint 2007

NOTE: This API is now obsolete.

Represents an area.

System.Object
  Microsoft.SharePoint.Portal.SiteData.Area

Namespace:  Microsoft.SharePoint.Portal.SiteData
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

[ObsoleteAttribute("This class is obsolete.")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class Area

Web sites with duplicate titles are allowed in Microsoft Office SharePoint Server 2007; SharePoint Portal Server 2003 did not allow duplicate titles. AreaDuplicationException is therefore not thrown in Office SharePoint Server 2007.

Also, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft