ReportingService2010.SetCacheRefreshPlanProperties 方法

定义

设置缓存刷新计划的属性。

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);
[<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")>]
member this.SetCacheRefreshPlanProperties : string * string * string * string * ReportService2010.ParameterValue[] -> unit
Public Sub SetCacheRefreshPlanProperties (CacheRefreshPlanID As String, Description As String, EventType As String, MatchData As String, Parameters As ParameterValue())

参数

CacheRefreshPlanID
String

缓存刷新计划的唯一标识符。

Description
String

缓存刷新计划的说明。 如果将此参数设置为 null(Visual Basic 中为 Nothing),则缓存刷新计划的现有说明保持不变。

EventType
String

触发缓存刷新的事件的类型。 当前有效值为 RefreshCache。 如果此参数设置为 null (Nothing 为 Visual Basic) ,则使用默认值 RefreshCache

MatchData
String

与指定 EventType 参数关联的数据。 这必须是特定于 中的ItemPath项的序列化ScheduleDefinition,或者是共享计划的计划 ID。

仅当 EventType 设置为 时Nothing,才能在 Visual Basic) 中将此参数null设置为 null (。 如果设置为 null,则现有数据保持不变。

Parameters
ParameterValue[]

一个 ParameterValue 对象的数组,该数组包含要为其创建缓存刷新计划的项的参数列表。

如果不想更改任何参数,可以将此参数设置为 null(Visual Basic 中为 Nothing)。

属性

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头用法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
本机模式所需权限 ReadPolicyUpdatePolicy
SharePoint 模式所需权限 <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems> 和 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

适用于