ReportingService2010.SetScheduleProperties Méthode

Définition

Définit les propriétés d'une planification partagée.

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)

Paramètres

Name
String

Nom de la planification.

ScheduleID
String

ID de la planification.

ScheduleDefinition
ScheduleDefinition

Objet ScheduleDefinition qui définit les propriétés et valeurs de la planification à définir.

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 UpdateSchedules (Système)
Mode SharePoint Autorisations requises <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

Pour supprimer une propriété d’une planification partagée, définissez la propriété sur null (Nothing en Visual Basic). La définition d’une valeur vide pour une propriété qui n’existe pas n’affecte pas la planification.

Si vous définissez la valeur d’une propriété qui existe déjà, la valeur est remplacée.

La SetScheduleProperties méthode n’arrête pas l’exécution d’une opération planifiée lorsque la méthode est appelée. Si la planification est mise à jour pendant une exécution planifiée, les modifications sont reflétées dans les exécutions suivantes.

Le MonthlyDOWRecurrence modèle n’est pas pris en charge en mode intégré SharePoint.

S’applique à