IFsrmFileManagementJobManager::EnumFileManagementJobs method

Enumerates the list of existing file management jobs.

Syntax


HRESULT EnumFileManagementJobs(
  [in]   FsrmEnumOptions options,
  [out]  IFsrmCollection **fileManagementJobs
);

Parameters

options [in]

One or more options to use when enumerating the management jobs. For possible values, see the FsrmEnumOptions enumeration.

Note   This parameter must be set to either FsrmEnumOptions_IncludeClusterNodes or FsrmEnumOptions_None for this method.

fileManagementJobs [out]

An IFsrmCollection interface that contains a collection of file management jobs. The variant type of each item in the collection is VT_DISPATCH. Query the pdispVal member of the variant to get an IFsrmFileManagementJob interface to the job.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success.

E_INVALIDARG
E_INVALIDARG

The options parameter is not valid.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

FsrmReports.h

DLL

SrmSvc.dll

CLSID

CLSID_FsrmFileManagementJobManager is defined as eb18f9b2-4c3a-4321-b203-205120cff614

IID

IID_IFsrmFileManagementJobManager is defined as ee321ecb-d95e-48e9-907c-c7685a013235

See also

IFsrmFileManagementJobManager
FsrmFileManagementJobManager
IFsrmFileManagementJobManager::GetFileManagementJob

 

 

Show:
© 2014 Microsoft