ReportingService2010.ListParents(String) ReportingService2010.ListParents(String) ReportingService2010.ListParents(String) Method


Retrieves parent items for the given item.

 cli::array <ReportService2010::CatalogItem ^> ^ ListParents(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="", ResponseNamespace="", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.CatalogItem[] ListParents (string ItemPath);
Public Function ListParents (ItemPath As String) As CatalogItem()


String String String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.


An array of CatalogItem objects that contain the parent items for the given item.


The ListParents method returns a list of parent items for the given item. All parents are returned until either the root node is reached or the user does not have rights to access a parent.

To execute the ListParents method, the user must be granted the "Read Properties" permission.

Applies to