使用C#导出Azure数据库 [英] Azure Database export with C#

查看:43
本文介绍了使用C#导出Azure数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的C#程序可用于Azure数据库.

My C# programme works with Azure Database.

我正在使用Microsoft.Rest和Microsoft.Azure.Management库来做一些事情(数据库复制,操作,删除等).

I'm using Microsoft.Rest and Microsoft.Azure.Management libraries to do some stuff (DB copy, manipulate, delete, etc...).

我尝试导出Azure数据库,但找不到如何在C#中执行此操作.有人知道我该怎么做,或引导我举个例子吗?

I try to do an export of an Azure DB, but I can't find how to do that in C#. Does anyone know how I can do that, or direct me to an example ?

推荐答案

我已经找到了解决问题的方法:我必须更新Microsoft.Azure.Management.Sql库.现在,我可以使用这种导出方法:

I've found the solution of my problem: I had to update my Microsoft.Azure.Management.Sql library. Now, I can use this export method:

公共静态ImportExportResponse导出(此IDatabasesOperations操作,字符串resourceGroupName,字符串serverName,字符串databaseName,ExportRequest参数);

public static ImportExportResponse Export(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportRequest parameters);

这篇关于使用C#导出Azure数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆