您應該使用SQL Azure數據庫導入導出服務。 你可以找到更多關於此服務here。
對於出口functionallity然後你可以使用這段代碼:
//Set Inputs to the REST Requests in the helper class
IEHelper.EndPointUri = @"<address of database endpoint according to its location, e.g. https://by1prod-dacsvc.azure.com/DACWebService.svc for DB located in West US>";
IEHelper.ServerName = "<database_server_name>.database.windows.net";
IEHelper.StorageKey = "<storage_key>";
IEHelper.DatabaseName = "<database_name>";
IEHelper.UserName = "<database_user_name>";
IEHelper.Password = "<database_password>";
//Do Export operation
string exportBlobPath = IEHelper.DoExport(String.Format(@"https://<storage_name>.blob.core.windows.net/bacpac/{0}.bacpac", IEHelper.DatabaseName));
ImportExportHelper IEHelper = new ImportExportHelper();
請看看這裏:http://sqldacexamples.codeplex.com/ –