Windows-based Hosting::CreatePlan
The CreatePlan procedure creates a new plan.
Arguments
Input Argument | Description |
---|---|
<planName> |
A valid service plan that will be added to the list of available plans. |
<planTypeName> |
A valid Plan type name. |
<planDescription> |
The description of the Plan. |
<preferredDomainController> |
The name of the preferred domain controller. |
<planCategories>/<category> |
The existing category names to assign the Plan to. |
<planFeatures>/<feature> |
The existing plan features to assign to the plan. |
Remarks
Security
The CreatePlan procedure has the following security requirements:
- Impersonate Caller.
Sample Code
Example XML Request
The following is an example of an XML request for the CreatePlan procedure of the Managed Windows-based Hosting Namespace:
<request>
<procedure>
<execute namespace="Windows-based Hosting" procedure="CreatePlan" impersonate="1">
<executeData>
<preferredDomainController>AD01.fabrikam.Com</preferredDomainController>
<planName>WebBasic</planName>
<planTypeName>WebPlan</ planTypeName>
<planDescription>Web Basic Plan</ planDescription >
<executeData>
<after source="executeData" destination="data" mode="merge"/>
</execute>
</procedure>
</request>
Example XML Response
<response>
<data>
</data>
</response>
Applies To
Managed Windows-based Hosting Namespace API for:
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
Windows-based Hosting::CreatePlan
Windows-based Hosting::EnablePlan
Windows-based Hosting::DisablePlan