IFsrmReportJob::get_Formats method (fsrmreports.h)

Retrieves or sets an array of formats that determine the content format of the reports.

This property is read/write.

Syntax

HRESULT get_Formats(
  SAFEARRAY **formats
);

Parameters

formats

Return value

None

Remarks

Each report in the job is generated in each of the specified formats.

The file name extension is based on the format. The extension for DHTML is ".html", the extension for HTML is ".htm", the extension for TXT is ".txt", the extension for CSV is ".csv", and the extension for XML is ".xml".

If the report type is FsrmReportType_ExportReport, you can specify only the FsrmReportFormat_Csv and FsrmReportFormat_Xml formats. The report is not run if one or both of these formats are not specified. Other formats are ignored.

Examples

For an example, see Defining a Report Job.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See also

IFsrmReportJob