Export (0) Print
Expand All
Expand Minimize

ReportingService2010.SetCacheRefreshPlanProperties Method

Sets the properties of a cache refresh plan.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Sub SetCacheRefreshPlanProperties ( _
	CacheRefreshPlanID As String, _
	Description As String, _
	EventType As String, _
	MatchData As String, _
	Parameters As ParameterValue() _
)
'Usage
Dim instance As ReportingService2010 
Dim CacheRefreshPlanID As String 
Dim Description As String 
Dim EventType As String 
Dim MatchData As String 
Dim Parameters As ParameterValue()

instance.SetCacheRefreshPlanProperties(CacheRefreshPlanID, _
	Description, EventType, MatchData, _
	Parameters)

Parameters

CacheRefreshPlanID
Type: String
The unique identifier for the cache refresh plan.
Description
Type: String
The description of the cache refresh plan. If this parameter is set to Nothing (Nothing in Visual Basic), the existing description of the cache refresh plan remains unchanged.
EventType
Type: String
The type of event that triggers the cache refresh. Currently, the valid value is RefreshCache. If this parameter is set to Nothing (Nothing is Visual Basic), the default value RefreshCache is used.
MatchData
Type: String
The data that is associated with the specified EventType parameter. This must be a serialized ScheduleDefinition specific to the item in ItemPath, or the schedule ID of a shared schedule.This parameter can be set to Nothing (Nothing in Visual Basic) only if EventType is set to Nothing. If set to Nothing, the existing data remains unchanged.
Parameters
Type: ReportService2010.ParameterValue()
An array of ParameterValue objects that contains a list of parameters for the item for which the cache refresh plan was created.This parameter can be set to Nothing (Nothing in Visual Basic) if no parameter changes are intended.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ReadPolicy AND UpdatePolicy

SharePoint Mode Required Permissions

EditListItems AND ViewListItems

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft