SPDiagnosticsProvider.RetentionPeriod Property

This property is called to get the retention period (in days) of the provider.

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

Syntax

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

value = instance.RetentionPeriod

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

Property Value

Type: System.Byte
Returns a Byte value representing the retention period in whole days..

Implements

ILoggingProvider.RetentionPeriod

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace