ReportingService2010.SetCacheRefreshPlanProperties Method (String, String, String, String, ParameterValue )
Applies To: SQL Server 2016 Preview
Sets the properties of a cache refresh plan.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
Syntax
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties",
RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public void SetCacheRefreshPlanProperties(
string CacheRefreshPlanID,
string Description,
string EventType,
string MatchData,
ParameterValue[] Parameters
)
public:
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties",
RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
void SetCacheRefreshPlanProperties(
String^ CacheRefreshPlanID,
String^ Description,
String^ EventType,
String^ MatchData,
array<ParameterValue^>^ Parameters
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties",
RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member SetCacheRefreshPlanProperties :
CacheRefreshPlanID:string *
Description:string *
EventType:string *
MatchData:string *
Parameters:ParameterValue[] -> unit
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties",
RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace := "https://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()
)
Parameters
CacheRefreshPlanID
Type: System.StringThe unique identifier for the cache refresh plan.
Description
Type: System.StringThe description of the cache refresh plan. If this parameter is set to null (Nothing in Visual Basic), the existing description of the cache refresh plan remains unchanged.
EventType
Type: System.StringThe type of event that triggers the cache refresh. Currently, the valid value is RefreshCache. If this parameter is set to null (Nothing is Visual Basic), the default value RefreshCache is used.
MatchData
Type: System.StringThe 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 null (Nothing in Visual Basic) only if EventType is set to null. If set to null, 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 null (Nothing in Visual Basic) if no parameter changes are intended.
Remarks
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
|
SharePoint Mode Required Permissions |
See Also
ReportingService2010 Class
ReportService2010 Namespace
Cache Shared Datasets (SSRS)
Caching Reports (SSRS)
Return to top