Share via


SPDatabaseSnapshot.Restore method

Overwrites the database with the database snapshot and then deletes all database snapshots.

Overload list

  Name Description
Public method Restore() Overwrites the database with the database snapshot, as long as the class representing the database implements IDatabaseSnapshotRestore, and then deletes all database snapshots.
Public method Restore(Boolean) Overwrites the database with the database snapshot and then deletes all database snapshots, optionally ignoring whether the database class implements IDatabaseSnapshotRestore.

Top

See also

Reference

SPDatabaseSnapshot class

SPDatabaseSnapshot members

Microsoft.SharePoint.Administration.Backup namespace