Share via


SPSite.TrimAuditLog - Propriété

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

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

Syntaxe

'Déclaration
Public Property TrimAuditLog As Boolean
    Get
    Set
'Utilisation
Dim instance As SPSite
Dim value As Boolean

value = instance.TrimAuditLog

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

Valeur de propriété

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

Remarques

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

Voir aussi

Référence

SPSite classe

SPSite - Membres

Microsoft.SharePoint - Espace de noms

AuditLogTrimmingRetention