Поделиться через


Метод ReportingService2010.SetCacheRefreshPlanProperties

Sets the properties of a cache refresh plan.

Пространство имен:  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[]
)

Параметры

  • CacheRefreshPlanID
    Тип: System.String
    The unique identifier for the cache refresh plan.
  • Description
    Тип: System.String
    The description of the cache refresh plan. If this parameter is set to nullпустая ссылка (Nothing в Visual Basic) (Nothing in Visual Basic), the existing description of the cache refresh plan remains unchanged.
  • EventType
    Тип: System.String
    The type of event that triggers the cache refresh. Currently, the valid value is RefreshCache. If this parameter is set to nullпустая ссылка (Nothing в Visual Basic) (Nothing is Visual Basic), the default value RefreshCache is used.
  • MatchData
    Тип: System.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 nullпустая ссылка (Nothing в Visual Basic) (Nothing in Visual Basic) only if EventType is set to nullпустая ссылка (Nothing в Visual Basic). If set to nullпустая ссылка (Nothing в Visual Basic), the existing data remains unchanged.
  • Parameters
    Тип: array<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 в Visual Basic) (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

См. также

Справочник

ReportingService2010 Класс

Пространство имен ReportService2010

Другие ресурсы

Общий набор данных в кэше (служба SSRS)

Кэширование отчетов (службы SSRS)