Freigeben über


SPSite.TrimAuditLog-Eigenschaft

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property TrimAuditLog As Boolean
    Get
    Set
'Usage
Dim instance As SPSite
Dim value As Boolean

value = instance.TrimAuditLog

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

Eigenschaftswert

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

Hinweise

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

Siehe auch

Referenz

SPSite Klasse

SPSite-Member

Microsoft.SharePoint-Namespace

AuditLogTrimmingRetention