IFsrmReportJob::CreateReport method (fsrmreports.h)

Creates a new report object of the specified type.

Syntax

HRESULT CreateReport(
  [in]  FsrmReportType reportType,
  [out] IFsrmReport    **report
);

Parameters

[in] reportType

Type of report to generate. For possible values, see theFsrmReportType enumeration.

Note that the job can contain only one report of each type.

[out] report

An IFsrmReport interface to the newly created report. Use the interface to configure the report.

Return value

The method returns the following return values.

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