Created
January 30, 2018 15:26
-
-
Save cmatskas/c14b0ba0009b6764d250d93b0c43603b to your computer and use it in GitHub Desktop.
Update or set Blob Storage metatag properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sa = CloudStorageAccount.Parse(conString); | |
var blobClient = sa.CreateCloudBlobClient(); | |
var container = blobClient.GetContainerReference("<yourcontainername>"); | |
var blob = container.GetBlockBlobReference("<yourblobname>"); | |
blob.Metadata.Add("IsDeleted", "false"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment