restoring a database from csharp

S

Sherif

I'm making an application using csharp to connect to a
database made by MSSql Server and i've already done backup
for the database from the csharp and i need now to know
how can i restore the database back by using csharp code.
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hello,

You can possibly import the SQLDMO type library with tlbimp.exe and do the
restore by means of SQL DMO.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top