Deallocating IIS resources for a Web site by using XML

Use the DeallocateWebSite procedure of the IIS Resource Manager namespace to deallocate initial resources for a Web site. This is the primary procedure callers use to deallocate resources when deleting a Web site.

This procedure runs as the MPF service account for calls to the Resource Manager database and impersonates the caller when creating directories and when creating and setting Web and FTP site permissions.

Example of a request that calls the DeallocateWebSite procedure

  <execute namespace="IIS Resource Manager" procedure="DeallocateWebSite">
	<after source="executeData" destination="data" sourcePath="path" />

Input for DeallocateWebSite

The following input is valid for this request:

Typical response for DeallocateWebSite

The response to this procedure does not contain significant data.