Share via


SPUsageDefinition.DaysToKeepData property

Gets or sets the number of days to keep data.

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

Syntax

'Declaration
Public Overridable Property DaysToKeepData As UInteger
    Get
    Set
'Usage
Dim instance As SPUsageDefinition
Dim value As UInteger

value = instance.DaysToKeepData

instance.DaysToKeepData = value
public virtual uint DaysToKeepData { get; set; }

Property value

Type: System.UInt32
Returns an UInt32.

Remarks

Must be less than or equal to DaysToKeepDetailedData.

See also

Reference

SPUsageDefinition class

SPUsageDefinition members

Microsoft.SharePoint.Administration namespace