Use wildcards in WASB ListBlobs

蓝咒 提交于 2019-12-01 13:40:44

Unfortunately this won't work as Azure Storage does not allow you to do server-side wild card filtering. Only filtering option available to you server-side is prefix filtering.

So what you would do is list blobs names of which starts with data/2014- and then apply rest of the filtering logic on the client side once you received all blobs names of which start with data/2014-.

let list = container.ListBlobs("data/2014-", false) // ! here
//Do client side filtering on the "list"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!