Area 类 (Microsoft.SharePoint.Portal.SiteData)

已过时。  

Represents an area.

命名空间: Microsoft.SharePoint.Portal.SiteData
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class Area
用法
Dim instance As Area
[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.

继承层次结构

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

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

Area 成员
Microsoft.SharePoint.Portal.SiteData 命名空间