IFsrmReportManager::EnumReportJobs method

Enumerates the report jobs.

Syntax


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

Parameters

options [in]

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.
 
reportJobs [out]

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.

S_OK

Success

E_INVALIDARG

The options parameter is an invalid value.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmReports.h (include FsrmReports.h or FsrmTlb.h)

DLL

SrmSvc.dll

CLSID

CLSID_FsrmReportManager is defined as 0058ef37-aa66-4c48-bd5b-2fce432ab0c8

IID

IID_IFsrmReportManager is defined as 27b899fe-6ffa-4481-a184-d3daade8a02b

See also

IFsrmReportManager
FsrmReportManager

 

 

Show: