다음을 통해 공유


AuditLogTrimmingReportCallout.GetAuditReportStorageLocationUrl Method

Gets the URL of 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 Function GetAuditReportStorageLocationUrl ( _
    site As SPSite _
) As String
'Usage
Dim site As SPSite
Dim returnValue As String

returnValue = AuditLogTrimmingReportCallout.GetAuditReportStorageLocationUrl(site)
public static string GetAuditReportStorageLocationUrl(
    SPSite site
)

Parameters

  • site
    Type: Microsoft.SharePoint.SPSite

    The site of the storage location for the audit log reports that are generated by the periodic trimming job.

Return Value

Type: System.String
Returns String.

Exceptions

Exception Condition
ArgumentNullException

Site is a null reference (Nothing in Visual Basic).

See Also

Reference

AuditLogTrimmingReportCallout Class

AuditLogTrimmingReportCallout Members

Microsoft.Office.RecordsManagement.Reporting Namespace