Export (0) Print
Expand All

IFsrmReportJob::CreateReport method

Creates a new report object of the specified type.

Syntax


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

Parameters

reportType [in]

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

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

report [out]

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

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

FSRM_E_ALREADY_EXISTS

A report of the specified type already exists for this job.

E_INVALIDARG

The report type is not valid.

 

Examples

For an example, see Adding a Report to a Job.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmReports.h

DLL

SrmSvc.dll

IID

IID_IFsrmReportJob is defined as 38e87280-715c-4c7d-a280-ea1651a19fef

See also

IFsrmReportJob

 

 

Show:
© 2014 Microsoft