共用方式為


ReportingService2010.ListCacheRefreshPlans 方法

Returns a list of the cache refresh plans associated with a catalog item.

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListCacheRefreshPlans", 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("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function ListCacheRefreshPlans ( _
    ItemPath As String _
) As CacheRefreshPlan()
'用途
Dim instance As ReportingService2010 
Dim ItemPath As String 
Dim returnValue As CacheRefreshPlan()

returnValue = instance.ListCacheRefreshPlans(ItemPath)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListCacheRefreshPlans", 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("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public CacheRefreshPlan[] ListCacheRefreshPlans(
    string ItemPath
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListCacheRefreshPlans", 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"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
array<CacheRefreshPlan^>^ ListCacheRefreshPlans(
    String^ ItemPath
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListCacheRefreshPlans", 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("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member ListCacheRefreshPlans : 
        ItemPath:string -> CacheRefreshPlan[] 
public function ListCacheRefreshPlans(
    ItemPath : String
) : CacheRefreshPlan[]

參數

  • ItemPath
    型別:System.String
    The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

傳回值

型別:array<ReportService2010.CacheRefreshPlan[]
An array of CacheRefreshPlan objects.

備註

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)