Lingua

ReportingService2010.DeleteSchedule(String) Metodo

Definizione

Elimina un programma condiviso dal database del server di report o dalla raccolta di 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)

Parametri

ScheduleID
String

L'ID del programma, restituito dal CreateSchedule(String, ScheduleDefinition, String) metodo.

Attributi

Commenti

La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.

Utilizzo dell'intestazione SOAP (Dentro) TrustedUserHeaderValue

(Fuori) ServerInfoHeaderValue
Permessi richiesti per la modalità nativa DeleteSchedules (Sistema)
Permessi richiesti in modalità SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

I report e gli abbonamenti che funzionano secondo il programma non vengono eseguiti se il programma viene cancellato.

Se il DeleteSchedule metodo viene chiamato quando un report associato al programma condiviso è in esecuzione, il report continua ad essere eseguito. In tal caso, il calendario viene assegnato al rapporto individuale.

Usa il ListSchedules metodo per recuperare un elenco aggiornato di schegge condivise nel database del server di report o nella raccolta di SharePoint.

Si applica a