共用方式為


SPSite.AuditLogTrimmingCallout property

取得或設定執行稽核記錄裁剪的物件的類別名稱。

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

Syntax

'宣告
Public Property AuditLogTrimmingCallout As String
    Get
    Set
'用途
Dim instance As SPSite
Dim value As String

value = instance.AuditLogTrimmingCallout

instance.AuditLogTrimmingCallout = value
public string AuditLogTrimmingCallout { get; set; }

Property value

Type: System.String
字串,包含實作IAuditLogTrimmingCallout介面的類別的強式名稱。

備註

您可以在類別中實作IAuditLogTrimmingCallout介面,以執行自訂動作的過多的稽核項目,例如儲存至存放區,在之前修剪從記錄檔。

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace