Linked Questions

Popular Questions

get a list of containers in the storage account

Asked by At

with the code:

CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
                CloudConfigurationManager.GetSetting("<storageaccountname>_AzureStorageConnectionString"));
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
CloudBlobContainer container = blobClient.GetContainerReference("test-blob-container");

I can access the Blob container “test-blob-container”. But is there a way to get a list of containers in the storage account?

Regards Stefan

Related Questions