Export (0) Print
Expand All
Expand Minimize

ReportingService2010::DeleteSchedule Method

Deletes a shared schedule from the report server database or SharePoint library.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSchedule", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
void DeleteSchedule(
	String^ ScheduleID
)

Parameters

ScheduleID
Type: System::String
The ID of the schedule, returned by the CreateSchedule method.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

DeleteSchedules (System)

SharePoint Mode Required Permissions

ManageWeb()

Reports and subscriptions that run according to the schedule do not run if the schedule is deleted.

If the DeleteSchedule method is called when a report that is associated with the shared schedule is running, the report continues to run. In that case, the schedule is assigned to the individual report.

Use the ListSchedules method to retrieve a current list of shared schedules in the report server database or SharePoint library.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft