ReportingService2010.SetCacheRefreshPlanProperties Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Imposta le proprietà di un piano di aggiornamento della 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())
Parametri
- CacheRefreshPlanID
- String
L'identificatore univoco per il piano di aggiornamento della cache.
- Description
- String
La descrizione del piano di aggiornamento della cache. Se questo parametro è impostato su null (Nothing in Visual Basic), la descrizione esistente del piano di aggiornamento della cache rimane invariata.
- EventType
- String
Il tipo di evento che attiva l'aggiornamento della cache. Attualmente, il valore valido è RefreshCache. Se questo parametro è impostato su null (Nothing è Visual Basic), viene usato il valore RefreshCache predefinito.
- MatchData
- String
I dati associati al parametro specificato EventType . Questo deve essere serializzato ScheduleDefinition specifico per l'elemento in ItemPath, oppure l'ID schedule di un schedule condiviso.
Questo parametro può essere impostato a null (Nothing in Visual Basic) solo se EventType è impostato a null. Se impostato su null, i dati esistenti rimangono invariati.
- Parameters
- ParameterValue[]
Un array di ParameterValue oggetti che contiene un elenco di parametri per l'elemento per cui è stato creato il piano di aggiornamento della cache.
Questo parametro può essere impostato su null (Nothing in Visual Basic) se non si intendono modifiche ai parametri.
- 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 | ReadPolicy E UpdatePolicy |
| Permessi richiesti in modalità SharePoint | <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems> E <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |