Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Starting with Windows Server 2012 this method is not supported; use the MSFT_FSRMScheduledTask WMI class to manage scheduled tasks.]
Deletes a task that is used to trigger a report job.
Syntax
HRESULT DeleteScheduleTask(
[in] BSTR taskName
);
Parameters
[in] taskName
The name of a Task Scheduler task to delete. The string is limited to 230 characters.
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 |