Hello,
You can possibly import the SQLDMO type library with tlbimp.exe and do the
restore by means of SQL DMO.
--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
"Sherif" <(E-Mail Removed)> wrote in message
news:1e41b01c45519$11249510$(E-Mail Removed)...
> 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.