Removes the current hosted service from Windows Azure.
Remove-AzureService [-Subscription <String>]
Run Remove-AzureService from anywhere within the service directory to stop and remove the current hosted service. If you have service deployments in both staging and production, this cmdlet removes both deployments.
Specifies the subscription to use to remove the service. You must use the same subscription that was used to deploy the service.
If you do not enter a parameter, the subscription in the DeploymentSettings.json file is used. If no deployment subscription has been set for the service, the first subscription in your publishing profile is used.
Example 1: Remove the MyService service:
PS C:\node\MyService> Remove-AzureService 10:32:21 PM - Removing service MyService... 10:32:21 PM - Removing deployment 10:32:56 PM - Removing service... 10:32:56 PM - Removing service MyService 10:32:58 PM - Complete
Example 2: Remove the MyService service by using the MySubscription subscription:
PS C:\node\MyService> Remove-AzureService -Sub MySubscription
Date de génération :