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)
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.