ReportingService2010.FlushCache(String) Metodo

Definizione

Invalida la cache per un elemento. Questo metodo si applica ai tipi di elemento Report e Dataset.

public:
 void FlushCache(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/FlushCache", 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("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void FlushCache (string ItemPath);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/FlushCache", 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("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.FlushCache : string -> unit
Public Sub FlushCache (ItemPath As String)

Parametri

ItemPath
String

URL completo dell'elemento, inclusi il nome file e, in modalità SharePoint, l'estensione.

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 UpdatePolicy
Autorizzazioni necessarie per la modalità SharePoint EditListItems

La chiamata di questo metodo su un elemento non memorizzato nella cache non produce un errore.

La lunghezza del ItemPath parametro non può superare i 260 caratteri. in caso contrario, viene generata un'eccezione SOAP con il codice di errore rsItemLengthExceeded.

Il ItemPath parametro non può essere null o vuoto o contenere i caratteri riservati seguenti: : ? ; @ & = + $ , \ * > < | . " . È possibile utilizzare il carattere barra (/) per separare gli elementi nel nome percorso completo della cartella, ma non è possibile utilizzarlo alla fine del nome della cartella.

Si applica a