Share via


ReportingService2010.SetCacheRefreshPlanProperties Metodo

Definizione

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

Identificatore univoco del piano di aggiornamento della cache.

Description
String

Descrizione del piano di aggiornamento della cache. Se questo parametro viene impostato su null (Nothing in Visual Basic), la descrizione esistente del piano di aggiornamento della cache rimane invariata.

EventType
String

Tipo di evento che attiva l'aggiornamento della cache. Attualmente, il valore valido è RefreshCache. Se questo parametro viene impostato su null (Nothing in Visual Basic), viene utilizzato il valore predefinito RefreshCache.

MatchData
String

Dati associati al parametro specificato EventType . Deve essere un oggetto serializzato ScheduleDefinition specifico dell'elemento in ItemPatho l'ID pianificazione di una pianificazione condivisa.

Questo parametro può essere impostato su null (Nothing in Visual Basic) solo se EventType è impostato su null. Se impostato su null, i dati esistenti rimangono invariati.

Parameters
ParameterValue[]

Matrice di oggetti ParameterValue contenente un elenco di parametri per l'elemento per il quale è stato creato il piano di aggiornamento della cache.

È possibile impostare questo parametro su null (Nothing in Visual Basic) se non si desidera modificare i parametri.

Attributi

Commenti

Nella tabella seguente vengono mostrate le informazioni sull'intestazione e sulle autorizzazioni relative a questa operazione.

Utilizzo intestazione SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorizzazioni necessarie per la modalità nativa ReadPolicy E UpdatePolicy
Autorizzazioni necessarie per la modalità SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems> E <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Si applica a