Partager via


Area, classe (Microsoft.SharePoint.Portal.SiteData)

Obsolète.  

Represents an area.

Espace de noms : Microsoft.SharePoint.Portal.SiteData
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class Area
'Utilisation
Dim instance As Area
[ObsoleteAttribute("This class is obsolete.")] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public class Area

Remarques

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.

Hiérarchie d'héritage

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

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres Area
Microsoft.SharePoint.Portal.SiteData, espace de noms