Do you remember my post about problems with BreakRoleInheritance in SharePoint 2007 (here)? There were errors messages that I didn’t dispose SPSite and SPWeb objects after usage. Partially I was able to solve it with some changes in my code, but there’re still entries in log files. For my next project I use SharePoint 2010, without any patches. I use again this code without any direct Dispose method, just put my code into “USING” statement and It works. There’s no any log information about problems with memory leaks during executing such code. Amazing
I've detected an ad blocker...
This site relies on ad revenue to generate content.
Please consider disabling your ad blocker for my site. Thank you!