Export (0) Print
Expand All

SPDatabaseSnapshotCollection.DeleteSnapshots Method

Deletes all the database snapshots of the current database.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public void DeleteSnapshots()

NoteNote

Do not call the RefreshSnapshots() method before you call the DeleteSnapshots() method, because the DeleteSnapshots() method calls the RefreshSnapshots() method anyway.

Show:
© 2014 Microsoft