title: Restore SQL Server database from snapshot in C#
body: <p>I have written a method which will restore a database from a backup file using Microsoft.SqlServer.Management.Smo.</p>
  
  <p>However, I can't see any way to restore a database from a snapshot programmatically. Does anyone know if there is a method for this?</p>