Lingua

ReportingService2010.SetScheduleProperties Metodo

Definizione

Imposta le proprietà di un programma condiviso.

public:
 void SetScheduleProperties(System::String ^ Name, System::String ^ ScheduleID, ReportService2010::ScheduleDefinition ^ ScheduleDefinition);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void SetScheduleProperties(string Name, string ScheduleID, ReportService2010.ScheduleDefinition ScheduleDefinition);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.SetScheduleProperties : string * string * ReportService2010.ScheduleDefinition -> unit
Public Sub SetScheduleProperties (Name As String, ScheduleID As String, ScheduleDefinition As ScheduleDefinition)

Parametri

Name
String

Nome della pianificazione.

ScheduleID
String

ID della pianificazione.

ScheduleDefinition
ScheduleDefinition

Un ScheduleDefinition oggetto che definisce le proprietà e i valori del programma da impostare.

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 UpdateSchedules (Sistema)
Permessi richiesti in modalità SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

Per rimuovere una proprietà da un programma condiviso, imposta la proprietà su null (Nothing in Visual Basic). Impostare un valore vuoto per una proprietà che non esiste non influisce sul programma.

Se imposti il valore di una proprietà già esistente, il valore viene sovrascritto.

Il SetScheduleProperties metodo non interrompe l'esecuzione di un'operazione programmata quando il metodo viene invocato. Se il programma viene aggiornato durante una run programmata, i cambiamenti si riflettono nelle run successive.

Il MonthlyDOWRecurrence pattern non è supportato nella modalità integrata SharePoint.

Si applica a