SPDiagnosticsService.DaysToKeepLogs-Eigenschaft
Ruft ab oder legt die Anzahl der Tage zum Speichern von Protokolldateien.
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; }
Eigenschaftswert
Typ: System.Int32
Die Anzahl von Tagen.