SPUserCodeService.ResourceUsageRetentionDays property

Gets or sets the number of days to retain resource usage information in the content database.

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

public int ResourceUsageRetentionDays { get; set; }

Property value

Type: System.Int32
The number of days to retain resource usage data in the content database.

The default value is 14.

Show: