ReportingService2006.ListParents 메서드

Retrieves parent items for the given item.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006(ReportService2006.dll)

구문

‘선언
Public Function ListParents ( _
    Item As String _
) As CatalogItem()
‘사용 방법
Dim instance As ReportingService2006 
Dim Item As String 
Dim returnValue As CatalogItem()

returnValue = instance.ListParents(Item)
public CatalogItem[] ListParents(
    string Item
)
public:
array<CatalogItem^>^ ListParents(
    String^ Item
)
member ListParents : 
        Item:string -> CatalogItem[] 
public function ListParents(
    Item : String
) : CatalogItem[]

매개 변수

  • Item
    유형: System.String
    The fully qualified URL of the item including the file name and extension.

반환 값

유형: array<ReportService2006.CatalogItem[]
An array of CatalogItem objects that contain the parent items for the given item.

주의

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

Required Permissions

None

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 the ManageAlerts permission for a parent. If you do not have the ViewListItems permission for the item, this method returns an empty list.

참고 항목

참조

ReportingService2006 클래스

ReportService2006 네임스페이스