ReportingService2006.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 including the file name and .rdl file name extension.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

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