Service2005.Delete Schedule(String) Method
从报表服务器数据库删除共享的计划。Deletes a shared schedule from the report server database.
public: void DeleteSchedule(System::String ^ ScheduleID);
public void DeleteSchedule (string ScheduleID);
member this.DeleteSchedule : string -> unit
Public Sub DeleteSchedule (ScheduleID As String)
下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.
|SOAP 标头SOAP Headers||(In) BatchHeaderValue(In) BatchHeaderValue
(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
|所需的权限Required Permissions||DeleteSchedules (系统) DeleteSchedules (System)|
如果计划被删除，则根据计划运行的报表和订阅将不会运行。Reports and subscriptions that run according to the schedule do not run if the schedule is deleted.
如果在 DeleteSchedule 与共享计划关联的报表运行时调用方法，则报表将继续运行。If the DeleteSchedule method is called while 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.