Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the number of days to store log files.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property DaysToKeepLogs As Integer
Get
Set
'Usage
Dim instance As SPDiagnosticsService
Dim value As Integer
value = instance.DaysToKeepLogs
instance.DaysToKeepLogs = value
public int DaysToKeepLogs { get; set; }
Property value
Type: System.Int32
The number of days.