SetCacheRefreshPlanProperties 方法

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

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

语法

声明
<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() _
)
用法
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)
[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
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetCacheRefreshPlanProperties", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
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 
public function SetCacheRefreshPlanProperties(
    CacheRefreshPlanID : String, 
    Description : String, 
    EventType : String, 
    MatchData : String, 
    Parameters : ParameterValue[]
)

参数

  • Description
    类型:System. . :: . .String
    缓存刷新计划的说明。如果将此参数设置为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)(Visual Basic 中为 Nothing),则缓存刷新计划的现有说明保持不变。
  • EventType
    类型:System. . :: . .String
    触发缓存刷新的事件的类型。当前有效值为 RefreshCache。如果将此参数设置为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)(Visual Basic 中为 Nothing),则使用默认值 RefreshCache。
  • MatchData
    类型:System. . :: . .String
    与指定的 EventType 参数关联的数据。它必须是 ItemPath 中特定于该项的序列化 ScheduleDefinition,或者是共享计划的计划 ID。
    仅当 EventType 设置为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) 时,才能将此参数设置为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)(Visual Basic 中为 Nothing)。如果设置为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing),则现有数据保持不变。
  • Parameters
    类型:array<ReportService2010. . :: . .ParameterValue> [] () [] []
    一个 ParameterValue 对象的数组,该数组包含要为其创建缓存刷新计划的项的参数列表。
    如果不想更改任何参数,可以将此参数设置为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)(Visual Basic 中为 Nothing)。

注释

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()()()()