Area Class (Microsoft.SharePoint.Portal.SiteData)

Obsolete.  

Represents an area.

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

Visual Basic (Declaration)
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class Area
Visual Basic (Usage)
Dim instance As Area
C#
[ObsoleteAttribute("This class is obsolete.")] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public class Area
Remarks

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.

Inheritance Hierarchy

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

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

Tags :


Page view tracker