Eric Yin
Eric Yin

Reputation: 9003

Whats the difference between CloudDrive.Delete() and CloudBlobContainer.Delete() in Azure

CloudDrive is a Blob.

Either way, files are gone. So whats the difference?

Upvotes: 0

Views: 314

Answers (1)

Sandrino Di Mattia
Sandrino Di Mattia

Reputation: 24895

When you delete a CloudDrive you are actually deleting the page blob in a (blob) container. Calling CloudBlobContainer.Delete deletes the blob container (together with all the blobs in that container), and calling this method might delete more files than you would want to delete.

Upvotes: 2

Related Questions