Managed Web Hosting Namespace API

This section provides the details of the application programming interface (API) for the Managed Web Hosting namespace included with the Microsoft® Provisioning System (MPS) in the . It describes the methods of this namespace along with input parameters and return values. In addition, example Extensible Markup Language (XML) requests are provided along with a typical XML response that the provisioning system returns after a request is submitted to MPS and tasks are completed.

Developers can use this API document as a reference when creating XML requests that initiate the provisioning of hosted Web services.

Overview

The Managed Web Hosting namespace is a new namespace that provides a select set of MPF methods for the provisioning of customer Web sites using MPS, in both shared and dedicated scenarios. This namespace enhances the low-level Internet Information Services (IIS) provider by integrating several aspects of hosted Web site provisioning, which includes:

The Managed Web Hosting namespace is designed to provide business logic for the creation of Web sites, directories, FTP virtual directories, and the application of permissions. However, this namespace does not implement any plans or resource management logic because these are provided by other namespaces. This facilitates scenarios where built-in plans and resource management are not needed by the service provider.

Public Method Description
Managed Web Hosting::CreateCustomerWebSite Creates and secures a Web site along with associated file directories and an FTP virtual directory for a specified customer.
Managed Web Hosting::DeleteCustomerWebSite Deletes a specified customer Web site and associated directories. Optionally removes the FTP virtual directory and archives content.
Managed Web Hosting::ModifyCustomerWebSite Provides for modification of a limited set of Web site properties.
Managed Web Hosting::ControlCustomerWebSite Starts, stops, or pauses a specified Web site.
Managed Web Hosting::CreateAppPool Creates an application pool.
Managed Web Hosting::DeleteAppPool Deletes an application pool.
Managed Web Hosting::GetCustomerWebSiteProperties Queries for details about a specified customer Web site.
Managed Web Hosting::QueryWebSitesByCustomer Returns a listing of Web sites provisioned for a Customer organizational unit.
Managed Web Hosting::ConfigureWebServerForDelegation Allows configuration of a specified Web server for delegated administration.
Managed Web Hosting::DeconfigureWebServerForDelegation Allows configuration of a specified Web server for delegated administration.
 Applies To