Share via


HostedServiceOperationsExtensions.Delete Method (IHostedServiceOperations, String)

 

Deletes the specified cloud service from a subscription.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public static AzureOperationResponse Delete(
    this IHostedServiceOperations operations,
    string serviceName
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Delete(
    IHostedServiceOperations^ operations,
    String^ serviceName
)
static member Delete : 
        operations:IHostedServiceOperations *
        serviceName:string -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Delete (
    operations As IHostedServiceOperations,
    serviceName As String
) As AzureOperationResponse

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service to delete from the subscription.

Return Value

Type: Microsoft.Azure.AzureOperationResponse

An OperationResponse object that includes an HTTP status code and request ID.

Remarks

For more information about delete cloud services, see the following resources:

See Also

HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top