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.
Deletes the snapshot of the document set version (DocumentSetVersion object).
Namespace: Microsoft.Office.DocumentManagement.DocumentSets
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Sub Delete
'Usage
Dim instance As DocumentSetVersion
instance.Delete()
public void Delete()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | There is no such object in the collection. (When calling this method on a snapshot that has already been deleted.) |
Remarks
Deletes the snapshot from the parent collection and invalidates the current DocumentSetVersion object such that the properties and methods no longer hold past information.
Uses with Contributor role permissions can use this method. Specifically, these users must have SPBasePermissions.EditListItems permissions.