ReportingService2010.SetCacheRefreshPlanProperties(String, String, String, String, ParameterValue[]) ReportingService2010.SetCacheRefreshPlanProperties(String, String, String, String, ParameterValue[]) ReportingService2010.SetCacheRefreshPlanProperties(String, String, String, String, ParameterValue[]) Method

定义

设置缓存刷新计划的属性。 Sets the properties of a cache refresh plan.

public:
 void SetCacheRefreshPlanProperties(System::String ^ CacheRefreshPlanID, System::String ^ Description, System::String ^ EventType, System::String ^ MatchData, cli::array <ReportService2010::ParameterValue ^> ^ Parameters);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void SetCacheRefreshPlanProperties (string CacheRefreshPlanID, string Description, string EventType, string MatchData, ReportService2010.ParameterValue[] Parameters);
Public Sub SetCacheRefreshPlanProperties (CacheRefreshPlanID As String, Description As String, EventType As String, MatchData As String, Parameters As ParameterValue())
参数
CacheRefreshPlanID
String String String

缓存刷新计划的唯一标识符。 The unique identifier for the cache refresh plan.

Description
String String String

缓存刷新计划的说明。 The description of the cache refresh plan. 如果此参数设置为null(Nothing在 Visual Basic 中),缓存刷新计划的现有说明保持不变。 If this parameter is set to null (Nothing in Visual Basic), the existing description of the cache refresh plan remains unchanged.

EventType
String String String

触发缓存刷新的事件的类型。 The type of event that triggers the cache refresh. 当前有效值为 RefreshCache Currently, the valid value is RefreshCache. 如果此参数设置为null(Nothing Visual basic),默认值RefreshCache使用。 If this parameter is set to null (Nothing is Visual Basic), the default value RefreshCache is used.

MatchData
String String String

与指定的关联的数据EventType参数。 The data that is associated with the specified EventType parameter. 这必须是一个序列化ScheduleDefinition特定于中的项项路径,或共享计划的计划 ID。 This must be a serialized ScheduleDefinition specific to the item in ItemPath, or the schedule ID of a shared schedule. 此参数可以设置为null(Nothing在 Visual Basic 中) 才EventType设置为null This parameter can be set to null (Nothing in Visual Basic) only if EventType is set to null. 如果设置为 null,则现有数据保持不变。 If set to null, the existing data remains unchanged.

Parameters
ParameterValue[]

数组ParameterValue包含的项为其创建缓存刷新计划的参数列表的对象。 An array of ParameterValue objects that contains a list of parameters for the item for which the cache refresh plan was created. 此参数可以设置为null(Nothing在 Visual Basic 中) 如果方面没有参数更改。 This parameter can be set to null (Nothing in Visual Basic) if no parameter changes are intended.

注解

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

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadPolicyUpdatePolicyReadPolicy AND UpdatePolicy
SharePoint 模式所需的权限SharePoint Mode Required Permissions EditListItemsViewListItemsEditListItems AND ViewListItems

适用于