Beispiel #1
0
        /// <summary>
        /// Used to delete a storage account
        /// </summary>
        private bool DeleteStorageAccount()
        {
            try
            {
                _client.DeleteStorageAccount(Manager.StorageAccountName);
                Manager.WriteComplete(EventPoint.StorageAccountCreated, "Storage account " + Manager.StorageAccountName + " created");
            }
            catch (Exception)
            {
                Manager.WriteComplete(EventPoint.StorageAccountCreated, "Storage account " + Manager.StorageAccountName + " not created");
                return(false);
            }

            return(true);
        }