none
Using SMO to restore a database snapshot

    Pregunta

  • Hey folks,

    I would like to restore a database snapshot using SMO API calls, rather than using Transact-SQL (restore database <dbname> from database_snapshot = '<SnapshotName>') to do so. I've been searching through the Microsoft.SqlServer.Smo assembly without a whole lot of luck though. It doesn't appear that there is a Database.Restore('snapshotname') method, or anything like it.

    Any ideas?

    Cheers,
    Trevor 


    If this post was helpful, please click the little "Vote as Helpful" button :)

    Trevor Sullivan
    Trevor Sullivan's Tech Room
    Twitter Profile
    viernes, 03 de febrero de 2012 17:49

Todas las respuestas