Area クラス (Microsoft.SharePoint.Portal.SiteData)
現在は使用されていません。
エリアを表します。
名前空間: 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 サイトを Microsoft Office SharePoint Server 2007 で使用することができます。SharePoint Portal Server 2003 では重複したタイトルを使用できませんでした。このため、AreaDuplicationException は Office SharePoint Server 2007 ではスローされません。
また、Microsoft Office SharePoint Portal Server 2003 オブジェクト モデルに対して作成されたコンソール アプリケーションでは Area.Web.Close メソッドを呼び出す必要があります。Area.Web.Close() を呼び出さない場合、アプリケーションがメモリ不足になる可能性があります。この呼び出しは、Web パーツおよび Web コントロールでは必要ありません。
継承階層
System.Object
Microsoft.SharePoint.Portal.SiteData.Area
スレッドの安全性
この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。