Web Hosting Resource Manager::DeallocateWebSite
This procedure de-allocates a Web site from the resource pool.
Arguments
Input argument | Required | Description |
---|---|---|
<serverName> |
Yes |
The name of the IIS Web Server where the Web site resides. |
<IISPath> |
Yes |
The metabase key of the Web site to delete. |
<preferredDomainController> |
Yes |
|
<container> |
No |
A starting LDAP container to look for the server in. The procedure performs an LDAP search to resolve the <serverName> to the Active Directory computer object. You can improve the performance of this search by specifying a default container (for example, LDAP://CN=Computers,DC=fabrikam,DC=Com). |
Remarks
Access Level
Private.
Provisioning Steps
- De-allocate the specified Web site from Resource Manager.
Security
- Impersonate Caller.
Note
The access level of this procedure is private. It is intended to be called from other namespaces that perform their own security checks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="Web Hosting Resource Manager" procedure="DeallocateWebSite" impersonate="1">
<executeData>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<serverName>WEB01</serverName>
<IISPath>IIS://WEB01/W3SVC/3453463</IISPath>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Applies To
Web Hosting Resource Manager Namespace for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0
See also
Tasks
Web Hosting Resource Manager::EndAllocateWebSite
Web Hosting Resource Manager::ModifyWebSiteAllocation