共用方式為


SPFile.DeleteCellStoragePartition Method

Deletes all entries in the specified cell storage partition.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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