restoring a database from csharp

  • Thread starter Thread starter Sherif
  • Start date Start date
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.
 
Hello,

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