ReportingService2010.ListDependentItems(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一份參考指定目錄項目的目錄項目清單。
public:
cli::array <ReportService2010::CatalogItem ^> ^ ListDependentItems(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListDependentItems", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.CatalogItem[] ListDependentItems(string ItemPath);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListDependentItems", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.ListDependentItems : string -> ReportService2010.CatalogItem[]
Public Function ListDependentItems (ItemPath As String) As CatalogItem()
參數
- ItemPath
- String
項目的完整限定網址,包括檔名,以及在 SharePoint 模式下的副檔名。
傳回
CatalogItem 物件的陣列。
- 屬性
備註
下表顯示此操作的標頭與權限資訊。
| SOAP 標頭的使用 | (在) TrustedUserHeaderValue (出局) ServerInfoHeaderValue |
| 原生模式所需權限 | 這取決於物品類型: - Report: ReadProperties- Resource: ReadProperties- DataSource: ReadProperties- Model: ReadProperties |
| SharePoint 模式 必要權限 | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
只有在呼叫該方法時已發表的相依項目才會被列出。 此方法僅回傳使用者在原生模式或 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> SharePoint 整合模式下擁有ReadProperties權限的項目。