Share via


SPUsageProvider.RetentionPeriod property

The number of days to keep data for this provider.

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

Syntax

'Declaration
Public Property RetentionPeriod As Byte
    Get
    Set
'Usage
Dim instance As SPUsageProvider
Dim value As Byte

value = instance.RetentionPeriod

instance.RetentionPeriod = value
public byte RetentionPeriod { get; set; }

Property value

Type: System.Byte
A Byte representation of the number of days.

Implements

ILoggingProvider.RetentionPeriod

See also

Reference

SPUsageProvider class

SPUsageProvider members

Microsoft.SharePoint.Administration namespace