<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>Efficiently Delete/Purge All items From A SharePoint List</title><link>http://code.msdn.microsoft.com/SharePointListDelete/Project/ProjectRss.aspx</link><description>If you want to delete or remove all the items in a SharePoint list you need to iterate through each item and perform a delete. Most of the examples on the web iterate through each item to do the de...</description><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/SharePointListDelete/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Overview&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;If you want to delete or remove all the items in a SharePoint list you need to iterate through each item and perform a delete. Most of the examples on the web iterate through each item to do the delete. The problem there is that each delete action makes a request to the server and a huge list is going to take a long time. You could always delete the entire list and recreate it but that would mean recreating the structure as well as the guid being changed.&lt;br /&gt; &lt;br /&gt;The better method would be to make a single request with all the delete commands batched together as shown in the code sample. Click on the Releases tab to download the solution.&lt;br /&gt; &lt;br /&gt;If you'd like to just take a quick look at the code see &lt;a href="http://www.merill.net/post/2008/02/Efficiently-Delete--Purge-All-Items-from-a-SharePoint-List.aspx" class="externalLink"&gt;http://www.merill.net/post/2008/02/Efficiently-Delete--Purge-All-Items-from-a-SharePoint-List.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>merill</author><pubDate>Tue, 12 Feb 2008 14:12:01 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080212P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/SharePointListDelete/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Overview&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;If you want to delete or remove all the items in a SharePoint list you need to iterate through each item and perform a delete. Most of the examples on the web iterate through each item to do the delete. The problem there is that each delete action makes a request to the server and a huge list is going to take a long time. You could always delete the entire list and recreate it but that would mean recreating the structure as well as the guid being changed.&lt;br /&gt; &lt;br /&gt;The better method would be to make a single request with all the delete commands batched together as shown in the code sample. Click on the Releases tab to download the solution.&lt;br /&gt; &lt;br /&gt;If you'd like to just take a quick look at the code see &lt;a href="http://www.merill.net/EfficientlyDeletePurgeAllItemsFromASharePointList.aspx" class="externalLink"&gt;http://www.merill.net/EfficientlyDeletePurgeAllItemsFromASharePointList.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>merill</author><pubDate>Mon, 04 Feb 2008 07:03:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080204A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/SharePointListDelete/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Overview&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;If you want to delete or remove all the items in a SharePoint list you need to iterate through each item and perform a delete. Most of the examples on the web iterate through each item to do the delete. The problem there is that each delete action makes a request to the server and a huge list is going to take a long time. You could always delete the entire list and recreate it but that would mean recreating the structure as well as the guid being changed.&lt;br /&gt; &lt;br /&gt;The better method would be to make a single request with all the delete commands batched together as shown in the code sample. Click on the Releases tab to download the solution.&lt;br /&gt;
&lt;/div&gt;</description><author>merill</author><pubDate>Mon, 04 Feb 2008 06:59:43 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080204A</guid></item><item><title>CREATED RELEASE: Version 1.0 (Feb 04, 2008)</title><link>http://code.msdn.microsoft.com/SharePointListDelete/Release/ProjectReleases.aspx?ReleaseId=132</link><description>Version 1.0</description><author></author><pubDate>Mon, 04 Feb 2008 06:57:48 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Version 1.0 (Feb 04, 2008) 20080204A</guid></item><item><title>RELEASED: Version 1.0 (Feb 04, 2008)</title><link>http://code.msdn.microsoft.com/SharePointListDelete/Release/ProjectReleases.aspx?ReleaseId=132</link><description>Version 1.0</description><author></author><pubDate>Mon, 04 Feb 2008 06:57:48 GMT</pubDate><guid isPermaLink="false">RELEASED: Version 1.0 (Feb 04, 2008) 20080204A</guid></item></channel></rss>