共用方式為


ReportingService2010.GetCacheRefreshPlanProperties 方法

Returns the properties of the specified cache refresh plan.

命名空間:  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
    The unique identifier for the cache refresh plan.
  • LastRunStatus
    型別:System.String%
    [out] A string that represents the status of the most recent cache refresh.
  • EventType
    型別:System.String%
    [out] The type of event that triggers the cache refresh.
  • MatchData
    型別:System.String%
    [out] The data that is associated with the specified EventType parameter. This is a serialized ScheduleDefinition specific to the item in ItemPath, or the schedule ID of a shared schedule.

傳回值

型別:System.String
A string that represents the description of the cache refresh plan.

備註

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

請參閱

參考

ReportingService2010 類別

ReportService2010 命名空間

其他資源

快取多個共用資料集 (SSRS)

快取多個報表 (SSRS)