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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property ResourceUsageRetentionDays As Integer
Get
Set
'Usage
Dim instance As SPUserCodeService
Dim value As Integer
value = instance.ResourceUsageRetentionDays
instance.ResourceUsageRetentionDays = value
public int ResourceUsageRetentionDays { get; set; }
Property Value
Type: System.Int32
The number of days to retain resource usage data in the content database.
Remarks
The default value is 14.