Share via


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)

Syntax

public static Task<AzureOperationResponse> DeleteAsync(
    this IStorageAccountOperations operations,
    string accountName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
    IStorageAccountOperations^ operations,
    String^ accountName
)
static member DeleteAsync : 
        operations:IStorageAccountOperations *
        accountName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
    operations As IStorageAccountOperations,
    accountName As String
) As Task(Of AzureOperationResponse)

Parameters

  • 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.

Remarks

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

See Also

StorageAccountOperationsExtensions Class
Microsoft.WindowsAzure.Management.Storage Namespace

Return to top