IStorageAccountOperations.DeleteAsync Method (String, CancellationToken)
Asynchronously deletes a storage account.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
Task<AzureOperationResponse> DeleteAsync(
string accountName,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync(
String^ accountName,
CancellationToken cancellationToken
)
abstract DeleteAsync :
accountName:string *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DeleteAsync (
accountName As String,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
- serviceName
The name of the storage account to delete.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
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
IStorageAccountOperations Interface
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top