共用方式為


SPWebApplication.CellStorageUserDataDeleteIncludedDocTypes Property

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

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

Syntax

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

value = instance.CellStorageUserDataDeleteIncludedDocTypes

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

Property Value

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

Remarks

This property defines the set of included document types for which a cell storage data cleanup timer job will delete table data. The timer job has a specific list of document types that are included by default as part of this timer job. If the farm server administrator wants to recover SQL Server disk space by deleting file fragments table data that is associated with custom file types, then this property must be changed.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace