共用方式為


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

The fully qualified URL of the report.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions UpdatePolicy

Calling the FlushCache method on a non-cached report does not produce an error.

The length of the Report parameter cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

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