IFsrmReportManager::EnumReportJobs method (fsrmreports.h)

Enumerates the report jobs.

Syntax

HRESULT EnumReportJobs(
  [in]  FsrmEnumOptions options,
  [out] IFsrmCollection **reportJobs
);

Parameters

[in] options

The options to use when enumerating the report jobs. For possible values, see the FsrmEnumOptions enumeration.

Note  The FsrmEnumOptions_Asynchronous option is not supported for this method.
 

[out] reportJobs

An IFsrmCollection interface that contains a collection of the report jobs. The collection is empty if no report jobs.

Each item of the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member to get the IFsrmReportJob interface.

The collection can contain committed and uncommitted report jobs. For an uncommitted report job to be included in the collection, the running status of the job must be FsrmReportRunningStatus_Queued or FsrmReportRunningStatus_Running.

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 (include FsrmReports.h, FsrmTlb.h)
DLL SrmSvc.dll

See also

FsrmReportManager

IFsrmReportManager