エクスポート (0) 印刷
すべて展開
このトピックはまだ評価されていません - このトピックを評価する

Remove-AzureService

Removes the current hosted service from Windows Azure.

Syntax

Remove-AzureService [-Subscription <String>]

Detailed Description

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.

Parameters

 

Parameter Description

[-Subscription <string>]

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.

Examples

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


ビルド日:

2013-01-07

コミュニティの追加

表示:
© 2014 Microsoft. All rights reserved.