Compartir a través de


de la propiedad SPSite.TrimAuditLog

Gets or sets a value that specifies whether to remove excess from the audit log periodically.

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

Sintaxis

'Declaración
Public Property TrimAuditLog As Boolean
    Get
    Set
'Uso
Dim instance As SPSite
Dim value As Boolean

value = instance.TrimAuditLog

instance.TrimAuditLog = value
public bool TrimAuditLog { get; set; }

Valor de propiedad

Tipo: System.Boolean
true to trim the audit log periodically; otherwise, false.

Comentarios

The retention period for events in the audit log is specified by the value of the AuditLogTrimmingRetention property.

Vea también

Referencia

clase SPSite

Miembros SPSite

Espacio de nombres Microsoft.SharePoint

AuditLogTrimmingRetention