It cannot be done via native SQL and QA. If you cannot do it from QA then you cannot do it from C#. However, you may consider restoring to an alternative database name and then dropping the old database and renaming the restored database to the name desired.
RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."