Example XML Request
<request>
<data>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--Specifies the name of the public folder.-->
<name>Legal</name>
<!--Specifies the location of the folder in the folder hierarchy, for example, \ for root level folders.-->
<path>\AlpineSkiHouse</path>
<!--Specifies the server on which the public folder resides.-->
<server>EXMBXOAB01</server>
<!--Specifies that all subfolders of the specified folder should be removed. If the Recurse parameter is not specified and the public folder has subfolders, the command does not run and returns an error message.-->
<recurse>true</recurse>
</data>
<procedure>
<execute namespace="Exchange 2007 Provider" procedure="DeleteFolder" impersonate="1">
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="name" destination="executeData" mode="move" />
<before source="data" sourcePath="path" destination="executeData" mode="move" />
<before source="data" sourcePath="server" destination="executeData" mode="move" />
<before source="data" sourcePath="recurse" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>