Compartilhar via


ReportNames Property

The ReportNames property of the SPUsage class gets the localized names of the report types that are used in usage reports.

Property Value

A string array that contains localized names corresponding to values of the SPUsageReportType enumeration.

Remarks

The SPUsage class cannot be instantiated and the ReportNames property is called directly on the class. Use SPUsage.ReportNames to return a string array containing the report names.

Example

The following code example uses an indexer on the property to display a list of the report names used in the current version of Microsoft Windows SharePoint Services.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security