Specifying the path name for an IIS Web site by using XML

Use the EndAllocateWebSite procedure of the IIS Resource Manager namespace to specify the IIS path name to assocate with the resources for a Web site.

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

Example of a request that calls the EndAllocateWebSite procedure

<request>
 <procedure>
   <execute namespace="IIS Resource Manager" procedure="EndAllocateWebSite">
	 <executeData>
	 <IISPath>IIS://MyServer/W3SVC/5</IISPath>
	 </executeData>
   </execute>
 </procedure>
</request>

Input for EndAllocateWebSite

The following input is valid for this request:

Typical response for EndAllocateWebSite

This procedure returns the directory path to which the Web site path should be set.

<fullPath>c:\Hosting\3</fullPath>

Important