Share via


Report constructor (SPSite, String, String, String, CultureInfo)

Initializes an instance of a report.

Namespace:  Microsoft.Office.RecordsManagement.Reporting
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Sub New ( _
    site As SPSite, _
    name As String, _
    category As String, _
    subcategory As String, _
    locale As CultureInfo _
)
'Usage
Dim site As SPSite
Dim name As String
Dim category As String
Dim subcategory As String
Dim locale As CultureInfo

Dim instance As New Report(site, name, _
    category, subcategory, locale)
public Report(
    SPSite site,
    string name,
    string category,
    string subcategory,
    CultureInfo locale
)

Parameters

  • site
    Type: Microsoft.SharePoint.SPSite

    The collection of sites to be included in the [Microsoft.Office.RecordsManagement.Reporting.Report].

  • name
    Type: System.String

    A string that contains the name of the [Microsoft.Office.RecordsManagement.Reporting.Report].

  • category
    Type: System.String

    A string that contains the category of a report: auditing or workflow.

  • subcategory
    Type: System.String

    A string that contains the subcategory of the [Microsoft.Office.RecordsManagement.Reporting.Report].

  • locale
    Type: System.Globalization.CultureInfo

    An unsigned 32-bit integer that specifies the identifier (ID) of the System.Globalization.CultureInfo object representing the localization information for the [Microsoft.Office.RecordsManagement.Reporting.Report].

See also

Reference

Report class

Report members

Report overload

Microsoft.Office.RecordsManagement.Reporting namespace