Share via


de la propiedad SPSite.AuditLogTrimmingRetention

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

Espacio de nombres:  Microsoft.SharePoint
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
Public Property AuditLogTrimmingRetention As Integer
    Get
    Set
'Uso
Dim instance As SPSite
Dim value As Integer

value = instance.AuditLogTrimmingRetention

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

Valor de propiedad

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

Comentarios

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.

Vea también

Referencia

clase SPSite

Miembros SPSite

Espacio de nombres Microsoft.SharePoint

TrimAuditLog