Partilhar via


SPDatabaseSnapshot.Restore Method

Include Protected Members
Include Inherited Members

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