[英]Whats the difference between CloudDrive.Delete() and CloudBlobContainer.Delete() in Azure
CloudDrive is a Blob. CloudDrive是一个Blob。
Either way, files are gone. 无论哪种方式,文件都消失了。 So whats the difference?
那么差异是什么?
When you delete a CloudDrive you are actually deleting the page blob in a (blob) container. 删除CloudDrive时,实际上是在 (blob)容器中删除页面blob 。 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.
调用CloudBlobContainer.Delete会删除blob容器(以及该容器中的所有blob),并且调用此方法可能会删除比您想要删除的文件更多的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.