ReportingService2010.DeleteSchedule(String) Méthode

Définition

Supprime une planification partagée de la base de données du serveur de rapports ou de la bibliothèque SharePoint.

public:
 void DeleteSchedule(System::String ^ ScheduleID);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSchedule", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void DeleteSchedule (string ScheduleID);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSchedule", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.DeleteSchedule : string -> unit
Public Sub DeleteSchedule (ScheduleID As String)

Paramètres

ScheduleID
String

ID de la planification, retourné par la méthode CreateSchedule(String, ScheduleDefinition, String).

Attributs

Remarques

Le tableau suivant présente les informations relatives aux en-têtes et aux autorisations sur cette opération.

Utilisation de l’en-tête SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorisations requises en mode natif DeleteSchedules (Système)
Mode SharePoint Autorisations requises <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

Les rapports et les abonnements qui s’exécutent selon la planification ne s’exécutent pas si la planification est supprimée.

Si la DeleteSchedule méthode est appelée lorsqu’un rapport associé à la planification partagée est en cours d’exécution, le rapport continue de s’exécuter. Dans ce cas, la planification est affectée au rapport individuel.

Utilisez la ListSchedules méthode pour récupérer une liste actuelle de planifications partagées dans la base de données du serveur de rapports ou la bibliothèque SharePoint.

S’applique à