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


Метод GetCacheRefreshPlanProperties

Возвращает свойства указанного плана обновления кэша.

Пространство имен:  ReportService2010
Сборка:  ReportService2010 (в ReportService2010.dll)

Синтаксис

'Декларация
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetCacheRefreshPlanProperties", 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)> _
Public Function GetCacheRefreshPlanProperties ( _
    CacheRefreshPlanID As String, _
    <OutAttribute> ByRef LastRunStatus As String, _
    <OutAttribute> ByRef State As CacheRefreshPlanState, _
    <OutAttribute> ByRef EventType As String, _
    <OutAttribute> ByRef MatchData As String, _
    <OutAttribute> ByRef Parameters As ParameterValue() _
) As String
'Применение
Dim instance As ReportingService2010
Dim CacheRefreshPlanID As String
Dim LastRunStatus As String
Dim State As CacheRefreshPlanState
Dim EventType As String
Dim MatchData As String
Dim Parameters As ParameterValue()
Dim returnValue As String

returnValue = instance.GetCacheRefreshPlanProperties(CacheRefreshPlanID, _
    LastRunStatus, State, EventType, _
    MatchData, Parameters)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetCacheRefreshPlanProperties", 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)]
public string GetCacheRefreshPlanProperties(
    string CacheRefreshPlanID,
    out string LastRunStatus,
    out CacheRefreshPlanState State,
    out string EventType,
    out string MatchData,
    out ParameterValue[] Parameters
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetCacheRefreshPlanProperties", 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)]
public:
String^ GetCacheRefreshPlanProperties(
    String^ CacheRefreshPlanID, 
    [OutAttribute] String^% LastRunStatus, 
    [OutAttribute] CacheRefreshPlanState^% State, 
    [OutAttribute] String^% EventType, 
    [OutAttribute] String^% MatchData, 
    [OutAttribute] array<ParameterValue^>^% Parameters
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetCacheRefreshPlanProperties", 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)>]
member GetCacheRefreshPlanProperties : 
        CacheRefreshPlanID:string * 
        LastRunStatus:string byref * 
        State:CacheRefreshPlanState byref * 
        EventType:string byref * 
        MatchData:string byref * 
        Parameters:ParameterValue[] byref -> string 
public function GetCacheRefreshPlanProperties(
    CacheRefreshPlanID : String, 
    LastRunStatus : String, 
    State : CacheRefreshPlanState, 
    EventType : String, 
    MatchData : String, 
    Parameters : ParameterValue[]
) : String

Параметры

  • CacheRefreshPlanID
    Тип: System. . :: . .String
    Уникальный идентификатор плана обновления кэша.
  • LastRunStatus
    Тип: System. . :: . .String%
    [out] Значение типа string, представляющее состояние последнего обновления кэша.
  • EventType
    Тип: System. . :: . .String%
    [out] Тип события, которое вызывает обновление кэша.
  • MatchData
    Тип: System. . :: . .String%
    [out] Данные, связанные с указанным параметром EventType. Это сериализованный объект ScheduleDefinition, относящийся к элементу в ItemPath, или идентификатор общего расписания.
  • Parameters
    Тип: array<ReportService2010. . :: . .ParameterValue> [] () [] []%
    [out] Массив объектов ParameterValue, содержащий список параметров для элемента, для которого был создан план обновления кэша.

Возвращаемое значение

Тип: System. . :: . .String
Значение String, представляющее описание плана обновления кэша.

Замечания

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ReadPolicy

SharePoint Mode Required Permissions

ViewListItems()()()()