StorageAccountOperationsExtensions.DeleteAsync Method (IStorageAccountOperations, String)

 

Asynchronously deletes a storage account.

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

public static Task<AzureOperationResponse> DeleteAsync(
	this IStorageAccountOperations operations,
	string accountName
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations

The IStorageAccountOperations object that specifies the storage account operations.

serviceName

The name of the storage account to delete.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

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

For more information about deleting a storage account, see the following resources:

Return to top
Show: