Web Hosting Resource Manager::EndAllocateWebSite

This procedure completes the allocation process for a Web site.

Note

BeginAllocateWebSite must be used in tandem with EndAllocateWebSite as part of the same transaction.

Arguments

Input argument Required Description

<IISPath>

Yes

The metabase key of the Web site.

<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 (e.g. LDAP://CN=Computers,DC=fabrikam,DC=Com).

Remarks

Access Level

Private.

Provisioning Steps

  1. Find the Web site consumer

  2. Rename the Web site consumer using the IISPath

Security

  1. 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="EndAllocateWebSite" impersonate="1"> 
 
      <executeData> 
 
        <preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController> 
 
        <IISPath>IIS://WEB01/W3SVC/3453463</IISPath> 
 
        <serverName>WEB01</serverName> 
 
      </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::BeginAllocateWebSite