Share via


SPFileSaveBinaryParameters.PartitionsToDelete property

Gets or sets which partitions of the store to delete as part of the file save operation.

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

Syntax

'Declaration
Public Property PartitionsToDelete As ISet(Of String)
    Get
    Set
'Usage
Dim instance As SPFileSaveBinaryParameters
Dim value As ISet(Of String)

value = instance.PartitionsToDelete

instance.PartitionsToDelete = value
public ISet<string> PartitionsToDelete { get; set; }

Property value

Type: System.Collections.Generic.ISet<String>
A collection partitions.

Remarks

If the collection is a null reference (Nothing in Visual Basic) (default), all partitions except the content will be deleted. If the collection is empty, no partitions will be deleted.

It is not a good idea to specify the content partition as one of the partitions to delete, but there is no check to stop this.

See also

Reference

SPFileSaveBinaryParameters class

SPFileSaveBinaryParameters members

Microsoft.SharePoint namespace