Last post Mar 22, 2006 12:42 PM by jjstreic
Mar 17, 2006 11:10 AM|hawkidav|LINK
This maybe a stupid question, but I created a few test service plans using CreateMailboxPlan XML files. I now want to delete these test plans and create the production service plans. Is there a easy way to do this instead of hacking the SQL database?
Thanks for your help.
Mar 17, 2006 11:28 AM|DmitriG|LINK
Mar 17, 2006 11:37 AM|hawkidav|LINK
Thanks for the reply. Do you have a quick sample of how to use this procedure? I'm fairly new to the hosted exchange enviroment.
Mar 17, 2006 01:33 PM|DmitriG|LINK
Mar 22, 2006 12:42 PM|jjstreic|LINK
To be supported you should use the RemoveAvailablePlans procedure rather than the stored procedure directly. You can find details on this call in the HostedExchange API section of the documentation. I have pasted the section below.
Removes service plans from the list of available plans for an organization.
The following security requirements apply to the RemoveAvailablePlans procedure:
Caller is tested
for OrgCreator permissions.
The RemoveAvailablePlans procedure requires the following input parameters:
LDAP path of the organization.
name of the preferred domain controller.
or more valid plan names to remove from the list of available plans for the organization.
1. Hosted Exchange::TestPermissions_ - tested for OrgCreator
2. Hosted Exchange::SetAvailablePlanStatus_
The RemoveAvailablePlans procedure has no return values.
Typical usage for the RemoveAvailablePlans procedure is as follows:
<execute namespace="Hosted Exchange" procedure="RemoveAvailablePlans"
<after source="executeData" destination="data" mode="merge" />