Condividi tramite


SPWebApplication.CellStorageDataCleanupExcludedDocTypes Property

Gets or sets document types to exclude from a cell storage data cleanup timer job so that associated file fragments are not deleted.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property CellStorageDataCleanupExcludedDocTypes As String()
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As String()

value = instance.CellStorageDataCleanupExcludedDocTypes

instance.CellStorageDataCleanupExcludedDocTypes = value
public string[] CellStorageDataCleanupExcludedDocTypes { get; set; }

Property Value

Type: []
Document types to exclude from cell storage data cleanup. The default values are one, onetmp, and onetoc2.

Remarks

This property defines the set of excluded document types for which a cell storage data cleanup timer job will not delete table data. The timer job has a hard-coded list of document types that are excluded. In other words, file fragments table data that is associated with these files will not be deleted. If there are other file types which are using up SQL Server disk space in the file fragments table, then the farm server administrator can update the hard-coded list through this property.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace