SharePoint of the Day #61

If you iterate through the AllWebs collection of a site collection you must remember to call Dispose() on the SPWeb objects you retrieve. Otherwise you will have a memory leak.

Post to Twitter Post to Delicious Delicious Post to Digg Digg This Post

Posted under Developer

This post was written by spotd on June 24, 2009

Tags:

Like this tip? Hate it? Vote here

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

What do you think if this tip?

Name (required)

Email (required)

Website

Comments

More Blog Post

Previous Post: SharePoint of the Day #60