共用方式為


ReportingService2005.DeleteSchedule 方法

Deletes a shared schedule from the report server database.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Sub DeleteSchedule ( _
    ScheduleID As String _
)
'用途
Dim instance As ReportingService2005 
Dim ScheduleID As String

instance.DeleteSchedule(ScheduleID)
public void DeleteSchedule(
    string ScheduleID
)
public:
void DeleteSchedule(
    String^ ScheduleID
)
member DeleteSchedule : 
        ScheduleID:string -> unit
public function DeleteSchedule(
    ScheduleID : String
)

參數

備註

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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

DeleteSchedules (System)

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

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.

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

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間