Langue

ReportingService2010.SetScheduleProperties Méthode

Définition

Définit les propriétés d’un planning partagé.

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

Un ScheduleDefinition objet qui définit les propriétés et valeurs de l’ordonnance à définir.

Attributs

Remarques

Le tableau ci-dessous présente les informations sur l’en-tête et les autorisations concernant cette opération.

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

(Dehors) ServerInfoHeaderValue
Mode natif : autorisations requises UpdateSchedules (Système)
Permissions requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

Pour retirer une propriété d’un planning partagé, définissez la propriété sur null (Nothing dans Visual Basic). Fixer une valeur vide pour une propriété qui n’existe pas n’affecte pas l’ordonnance.

Si vous fixez la valeur d’une propriété déjà existante, la valeur est écrasée.

La SetScheduleProperties méthode n’arrête pas l’exécution d’une opération planifiée lorsque celle-ci est invoquée. Si le planning est mis à jour pendant une exécution programmée, les changements se reflètent dans les runs suivants.

Le MonthlyDOWRecurrence motif n’est pas pris en charge en mode intégré SharePoint.

S’applique à