开发者

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.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜