mhinze.com archive

this is an archive of the old blog, ended 6/16/08





    12
    Apr

    sharepoint 2003: portal listings in code

    seems simple enough huh?  well i am learning as i go on this 2003 object model stuff and couldn't find anything on this easily. so maybe this will help someone.

    code to get a portal listing, portal listings

    using Microsoft.SharePoint.Portal;
    using Microsoft.SharePoint.Portal.SiteData;
     

    Area area = AreaManager.GetArea(PortalContext.Current, new Guid(areaGuid));
    foreach (AreaListing listing in area.Listings)
    {
        // do stuff
    }
     
     
    Technorati tags: , ,

    Leave a Reply

    You must be logged in to post a comment.

    © 2007 mhinze.com