Export (0) Print
Expand All

SPAudit.UseAuditFlagCache property

Gets or sets a value indicating whether the audit configuration for the site collection should be cached on the local machine.

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

public bool UseAuditFlagCache { get; set; }

Property value

Type: System.Boolean
true if the audit configuration should be cached; otherwise, false. The default is false.

ExceptionCondition
SystemInvalidOperationException

The parent object that has this SPAudit object as the value if its Audit property is not an SPSite.

Call UseAuditFlagCache only if the parent object that has this SPAudit object as the value if its Audit property is an SPSite object.

Show:
© 2014 Microsoft