AreaGroup Class

NOTE: This API is now obsolete.

Manages groups of areas.

Inheritance Hierarchy


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


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


The following code example shows the use of the AreaGroup class.

// Get the default group.
AreaGroup groupDefault = groupsTopics[AreaGroup.DefaultGroupID];

// Add an area listing to the default group.
AreaListing listingNew = groupDefault.AddListing("New Listing Title",
"New Listing Description",
new Guid[] { });
listingNew.Update(); // Complete the creation
// Get a list of items you can iterate over.
IList list = groupDefault.GetListings(true);

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


AreaGroup Members

Microsoft.SharePoint.Portal.SiteData Namespace