Sunday, July 15, 2012

Sandboxed code solution has leaked these IPoint.Disposable Objects:Microsoft.SharePoint.SpSite

Use code like as
               SPWeb myweb = properties.OpenWeb();
                myweb.AllowUnsafeUpdates = true;
           SPList mylist = myweb.Lists["Holidays List"];
     

No comments:

Post a Comment