SPSite.TrimAuditLog property
取得或設定值,指定是否要定期多餘從稽核記錄檔中移除。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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; }
Property value
Type: System.Boolean
若要定期 ; 修剪稽核記錄檔的true否則, false。
備註
AuditLogTrimmingRetention屬性的值所指定稽核記錄檔中事件的保留期限。