以编程方式还原数据库 [英] Restore Database Programmatically
本文介绍了以编程方式还原数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我以编程方式恢复了sql server数据库,但出现错误
I restored sql server database programmatically but I have an error
"System.Data.SqlClient.SqlError: Logical file ''SpecialOne_Inventory'' is not part of database ''SpecialOne_Inventory''."
如何解决此错误.
感谢您为我分享时间.
谢谢!
How can I solve this error.
Thanks for sharing your time for me.
Thank you!
推荐答案
^ ]帖子可能会有所帮助.
This[^] post might be helpful.
查看以下内容:
使用C#和.NET 2.0的SQL Server 2005数据库备份和还原 [
Check this out:
SQL Server 2005 Database Backup and Restore using C# and .NET 2.0[^]
hope it helps :)
这篇关于以编程方式还原数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文