次の方法で共有


SPWebApplication.CellStorageDataCleanupExcludedDocTypes property

NOTE: This API is now obsolete.

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)

Syntax

'Declaration
<ObsoleteAttribute("This property is obsolete. All data is cleaned up at write-time.")> _
Public Property CellStorageDataCleanupExcludedDocTypes As String()
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As String()

value = instance.CellStorageDataCleanupExcludedDocTypes

instance.CellStorageDataCleanupExcludedDocTypes = value
[ObsoleteAttribute("This property is obsolete. All data is cleaned up at write-time.")]
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