SalimAzureBlobAPI/SalimAzureAPI/AzureBlobManager.cs
/// <summary>
/// Deletes the container in Azure blob storage. 
/// Better make sure you have backups before you call this. :-)
/// </summary>
/// <param name="containerName">Name of the container.</param>
/// <returns>True if contianer was deleted successfully; false otherwise.</returns>
Deletes the container in Azure blob storage.
Better make sure you have backups before you call this.
Deletes the container in Azure blob storage . Better make sure you have backups before you call this .
public bool DeleteContainer(string containerName)
        {
            return ExecuteWithExceptionHandlingAndReturnValue(
                    () =>
                    {
                        CloudBlobContainer container = _blobClient.GetContainerReference(containerName);
                        container.Delete();
                    });
        }
public bool DeleteContainer ( string containerName ) { return ExecuteWithExceptionHandlingAndReturnValue ( ( ) => { CloudBlobContainer container = _blobClient . GetContainerReference ( containerName ) ; container . Delete ( ) ; } ) ; }
Deletes the container in Azure blob storage.
Deletes the container in Azure blob storage .
True if contianer was deleted successfully; false otherwise.
True if contianer was deleted successfully ; false otherwise .
containerName
string
Name of the container.
Name of the container .