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
项目的完全限定URL,包括文件名,以及在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权限的项目。