SPDiagnosticsService.DaysToKeepLogs - Propriété

Obtient ou définit le nombre de jours de stockage des fichiers journaux.

Espace de noms :  Microsoft.SharePoint.Administration
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Property DaysToKeepLogs As Integer
    Get
    Set
'Utilisation
Dim instance As SPDiagnosticsService
Dim value As Integer

value = instance.DaysToKeepLogs

instance.DaysToKeepLogs = value
public int DaysToKeepLogs { get; set; }

Valeur de propriété

Type : System.Int32
Le nombre de jours.

Voir aussi

Référence

SPDiagnosticsService classe

SPDiagnosticsService - Membres

Microsoft.SharePoint.Administration - Espace de noms