How to list Azure blob snapshots with .Net client
In the REST interface 开发者_StackOverflowfor Azure blobs, when you request a list of blobs there is a parameter for specifying that you want to list snapshots. Has this been exposed anywhere in the .Net client?
See http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storageclient.bloblistingdetails.aspx.
I think you want something like
container.ListBlobs(new BlobRequestOptions() { BlobListingDetails = BlobListingDetails.Snapshots });
(Sorry if that code isn't quite right... don't have VS open.)
精彩评论