阅读背景:

使用c#创建SQL Server备份文件(.bak)到任何位置

来源:互联网 

I'm trying to write simple application in C# which will allow me to backup, zip and send over ftp my SQL Server database. One problem I have encountered is that I'm not able to create the backup file (.bak) if I try to do it in different location than "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Backup" or "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Data" folder. I understand that this is a premission problem. Could someone point me to the resources or write here a short snippet how to programmatically add such a permission to any folder on my system.I'm trying to write simple application in C# wh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: