Compartilhar 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)
Available in Sandboxed Solutions: No

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