Export (0) Print
Expand All

IFsrmReportScheduler interface

[Starting with Windows Server 2012 this interface is not supported; use the MSFT_FSRMScheduledTask WMI class to manage scheduled tasks.]

Used to manage scheduled tasks for report jobs and file management jobs.

To get this interface, call the CoCreateInstanceEx function. Use CLSID_FsrmReportScheduler as the class identifier and __uuidof(IFsrmReportScheduler) as the interface identifier. For an example, see Scheduling a Report Job.

Members

The IFsrmReportScheduler interface inherits from the IDispatch interface. IFsrmReportScheduler also has these types of members:

Methods

The IFsrmReportScheduler interface has these methods.

MethodDescription
CreateScheduleTask

Creates a task that is used to trigger a report job.

DeleteScheduleTask

Deletes a task that is used to trigger a report job.

ModifyScheduleTask

Modifies a task that is used to trigger a report job.

VerifyNamespaces

Verifies that the specified local directory paths that are used as the source for the reports are valid.

 

Remarks

To enumerate the schedules for reports, call the IFsrmReportManager::EnumReportJobs method. Use the task name in the IFsrmReportJob::Task property to retrieve the schedule from the Task Scheduler. To retrieve the schedule, call the ITaskScheduler::Activate method. (FSRM supports only Task Scheduler version 1.0, not version 2.0.) Note that some report jobs may not have an associated schedule.

To enumerate the schedules for file management jobs, call the IFsrmFileManagementJobManager::EnumFileManagementJobs method. Use the task name in the IFsrmFileManagementJob::Task property to retrieve the schedule from the Task Scheduler. To retrieve the schedule, call the ITaskScheduler::Activate method.

To create this object from a script, use the "Fsrm.FsrmReportScheduler" program identifier.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

End of server support

Windows Server 2008 R2

Header

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

IDL

FsrmReports.idl

DLL

SrmSvc.dll

CLSID

CLSID_FsrmReportScheduler is defined as ea25f1b8-1b8d-4290-8ee8-e17c12c2fe20

IID

IID_IFsrmReportScheduler is defined as 6879caf9-6617-4484-8719-71c3d8645f94

See also

FSRM Interfaces
FsrmReportScheduler

 

 

Show:
© 2014 Microsoft