For performance reason,I try using SPWeb.ProcessBatchData() to delete plenty of listItems like follows:
<Batch>
<Method>
<SetList Scope="Request">3010913d-9373-44ec-a799-0bf564cb0d66</SetList>
<SetVar Name="Cmd">DELETE</SetVar>
<SetVar Name="ID">1</SetVar>
<SetVar Name="owsfileref">sites/tester1/myfile.bmp</SetVar>
</Method>
</Batch>
However,I found this way will take the listItems into RecycleBin,that's not what I want.
Is there any way delete listItems directly in a batch way(good performance,not Recycle Item) ?
Anyone who can help me.3Q!
谁知道类似ProcessBatchData()的批量删除ListItem而不是将ListItem放入回收站的方法,谢谢!