Langue

ReportingService2010.SetCacheRefreshPlanProperties Méthode

Définition

Définit les propriétés d’un plan de rafraîchissement du cache.

public:
 void SetCacheRefreshPlanProperties(System::String ^ CacheRefreshPlanID, System::String ^ Description, System::String ^ EventType, System::String ^ MatchData, cli::array <ReportService2010::ParameterValue ^> ^ Parameters);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", 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 SetCacheRefreshPlanProperties(string CacheRefreshPlanID, string Description, string EventType, string MatchData, ReportService2010.ParameterValue[] Parameters);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", 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.SetCacheRefreshPlanProperties : string * string * string * string * ReportService2010.ParameterValue[] -> unit
Public Sub SetCacheRefreshPlanProperties (CacheRefreshPlanID As String, Description As String, EventType As String, MatchData As String, Parameters As ParameterValue())

Paramètres

CacheRefreshPlanID
String

L’identifiant unique pour le plan de rafraîchissement du cache.

Description
String

La description du plan de rafraîchissement du cache. Si ce paramètre est défini à null (Nothing dans Visual Basic), la description existante du plan de rafraîchissement du cache reste inchangée.

EventType
String

Le type d’événement qui déclenche le rafraîchissement du cache. Actuellement, la valeur valide est RefreshCache. Si ce paramètre est défini à null (Nothing est Visual Basic), la valeur RefreshCache par défaut est utilisée.

MatchData
String

Les données associées au paramètre spécifié EventType . Cela doit être un fichier sérialisé ScheduleDefinition spécifique à l’élément dans ItemPath, ou à l’identifiant de schedule d’un schedule partagé.

Ce paramètre ne peut être fixé à null (Nothing dans Visual Basic) que si EventType est défini à null. Si on est défini à null, les données existantes restent inchangées.

Parameters
ParameterValue[]

Un tableau d’objets ParameterValue contenant une liste de paramètres pour l’élément pour lequel le plan de rafraîchissement du cache a été créé.

Ce paramètre peut être défini à null (Nothing dans Visual Basic) si aucun changement de paramètre n’est prévu.

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 ReadPolicy ET UpdatePolicy
Permissions requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems> ET <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

S’applique à