ReportingService2005.FlushCache(String) Method

Definition

使单个报表的缓存无效。Invalidates the cache for an individual report.

public:
 void FlushCache(System::String ^ Report);
public void FlushCache (string Report);
member this.FlushCache : string -> unit
Public Sub FlushCache (Report As String)

Parameters

Report
String

报表的完全限定 URL。The fully qualified URL of the report.

Remarks

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头SOAP Headers (In) BatchHeaderValue(In) BatchHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
所需的权限Required Permissions UpdatePolicy

FlushCache对非缓存报表调用方法不会产生错误。Calling the FlushCache method on a non-cached report does not produce an error.

参数的长度 Report 不能超过260个字符; 否则,将引发带有错误代码 RSITEMLENGTHEXCEEDED 的 SOAP 异常。The length of the Report parameter cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

Report参数不能为 null 或为空,也不能包含以下保留字符: : ? ; @ & = + $ , \ * > < | . "The Report parameter cannot be null or empty or contain the following reserved characters: : ? ; @ & = + $ , \ * > < | . ". 您可以使用正斜杠 (/) 来分隔文件夹的完整路径名中的项,但不能在文件夹名称的末尾使用。You can use the forward slash character (/) to separate items in the full path name of the folder, but you cannot use it at the end of the folder name.

Applies to