SPSite.TrimAuditLog 属性
Gets or sets a value that specifies whether to remove excess from the audit log periodically.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property TrimAuditLog As Boolean
Get
Set
用法
Dim instance As SPSite
Dim value As Boolean
value = instance.TrimAuditLog
instance.TrimAuditLog = value
public bool TrimAuditLog { get; set; }
属性值
类型:System.Boolean
true to trim the audit log periodically; otherwise, false.
备注
The retention period for events in the audit log is specified by the value of the AuditLogTrimmingRetention property.