SMO数据库的完整数据库还原 [英] Full database restore of the SMO database

查看:151
本文介绍了SMO数据库的完整数据库还原的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的罗伯特·梅(Robert May),我们的上帝保佑您和您的所有作品,我发现您的一篇非常有用的文章日期为2010年10月30日, Robert使用SMO示例执行还原,该示例从文件D:\ SMOTest.bak进行SMO数据库的完整数据库还原,并替换它已经存在的数据库.
但是,如果您愿意,我的问题是:"如果database.mdf不存在作为某人,请执行C:\格式;如果不存在,请执行以下操作:如何从文件D:\ SMOTest.bak恢复,回复非常重要;因为我掌握了吗?
乔治·阿齐兹
已删除电子邮件[/编辑]

Dear Robert May our GOD Bless You and All your Works , I found Your Excellent and Useful article dated Saturday, October 30, 2010
Robert to perform a restore using SMO example that does a Full database restore of the SMO database from the file D:\SMOTest.bak, replacing the database it it already exists .
But if You please My Question is : " if database.mdf Does Not exist As someone Do format for C:\ ; How can I restore from the file D:\SMOTest.bak it is Very important to Reply; Because I master instead ?
George Aziz
Removed e-mail[/Edit]

推荐答案

不要将其发布在快速解答"下-如果您从文章中获得了代码,那么这里有该文章底部的新消息"按钮,该按钮会将电子邮件发送给作者.然后会通知他们您希望与他们交谈.
将其发布到此处依赖于他们的下落"并意识到它是针对他们的.
Don''t post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.


这篇关于SMO数据库的完整数据库还原的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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