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 code | Description |
|---|---|
|
Success |
|
A report of the specified type already exists for this job. |
|
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 |
|
|
DLL |
|
|
IID |
IID_IFsrmReportJob is defined as 38e87280-715c-4c7d-a280-ea1651a19fef |
See also
Send comments about this topic to Microsoft
Build date: 12/6/2012