Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99677

How to export databases with commands azure cli with C# code

$
0
0

I use Azure CLI to export backup the databases in my resource group to the blobstorage, so i want to use same command on visual studio code with c#.

For example, I use the following command in Azure CLI to export the DB's in my resource group:

az sql db export -s (sql server) -n (database) -g (group) -p (password) -u login --storage-key " key " --storage-key-type --storage-uri (url blob)

How can I achieve this using a C# code instead?


Viewing all articles
Browse latest Browse all 99677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>