SPSite.AuditLogTrimmingRetention - Propriété

Gets or sets the number of days of audit log data to retain.

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

Syntaxe

'Déclaration
Public Property AuditLogTrimmingRetention As Integer
    Get
    Set
'Utilisation
Dim instance As SPSite
Dim value As Integer

value = instance.AuditLogTrimmingRetention

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

Valeur de propriété

Type : System.Int32
The number of days to retain events in the audit log.

Remarques

The AuditLogTrimmingRetention property specifies how many days to retain events in the audit log. When the TrimAuditLog property is set to true, excess is periodically removed from the audit log. This process involves establishing a limit by counting the specified number of days back from the present date, and then removing log entries for dates prior to this limit.

Voir aussi

Référence

SPSite classe

SPSite - Membres

Microsoft.SharePoint - Espace de noms

TrimAuditLog