在C#中备份,还原SQL Server Express Edition [英] backup , restore sql server express edition in c#

查看:76
本文介绍了在C#中备份,还原SQL Server Express Edition的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的ALl
我如何从Visual Studio备份,还原SQL Server Express版本

注意:我正在使用Microsoft Visual Studio 2008
和sql server Express Edition 2005

谢谢Advanced

Dear ALl
How i can backup , restore sql server express edition from the visual studio

note: I''m using Microsoft visual studio 2008
and sql server express edition 2005

thanks in advanced

推荐答案

try

使用C#和.NET 2.0的SQL Server 2005数据库备份和还原 [
try

SQL Server 2005 Database Backup and Restore using C# and .NET 2.0[^]


还有另一种可能性不想使用SMO是使用 SqlCommand执行实际的T-SQL语句 [^ ]类:
-备份 [还原 [
And another possibility if you don''t want to use SMO is to execute the actual T-SQL statements with SqlCommand[^] class:
- BACKUP[^]
- RESTORE[^]


这篇关于在C#中备份,还原SQL Server Express Edition的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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