Export (0) Print
Expand All
Expand Minimize

ReportingService2010.ListParents Method

Retrieves parent items for the given item.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

'Declaration
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListParents", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListParents ( _
	ItemPath As String _
) As CatalogItem()
'Usage
Dim instance As ReportingService2010 
Dim ItemPath As String 
Dim returnValue As CatalogItem()

returnValue = instance.ListParents(ItemPath)

Parameters

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

Return Value

Type: ReportService2010.CatalogItem()
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft