SPFile.DeleteCellStoragePartition method

Deletes all entries in the specified cell storage partition.

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

Syntax

'Declaration
Public Sub DeleteCellStoragePartition ( _
    partitionId As String _
)
'Usage
Dim instance As SPFile
Dim partitionId As String

instance.DeleteCellStoragePartition(partitionId)
public void DeleteCellStoragePartition(
    string partitionId
)

Parameters

  • partitionId
    Type: System.String

    Identifier of the cell storage partition.

Exceptions

Exception Condition
ArgumentNullException

partitionId is null .

SPException

An error occurred deleting the entries.

Remarks

This method deletes the specified file fragments for the file.

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace