Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Drops the database snapshot from the Microsoft SQL Server database.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Sub Delete ( _
force As Boolean _
)
'Usage
Dim instance As SPDatabaseSnapshot
Dim force As Boolean
instance.Delete(force)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public void Delete(
bool force
)
Parameters
force
Type: System.Booleantrue to delete the snapshot from the destination. The default is true.
Exceptions
Exception | Condition |
---|---|
SPException | The force parameter is false. |