Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the storage location for audit log reports that are generated by the periodic trimming job.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub SetAuditReportStorageLocation ( _
site As SPSite, _
strFolder As String _
)
'Usage
Dim site As SPSite
Dim strFolder As StringAuditLogTrimmingReportCallout.SetAuditReportStorageLocation(site, _
strFolder)
public static void SetAuditReportStorageLocation(
SPSite site,
string strFolder
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe site that is the storage location for audit log reports that are generated by the periodic trimming job.
strFolder
Type: System.StringThe server-relative URL of the folder to store the audit log reports.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Site is a null reference (Nothing in Visual Basic) or the folder cannot be found. |
See Also
Reference
AuditLogTrimmingReportCallout Class