次の方法で共有


ReportingService2006.ListParents(String) メソッド

定義

指定したアイテムの親アイテムを取得します。

public:
 cli::array <ReportService2006::CatalogItem ^> ^ ListParents(System::String ^ Item);
public ReportService2006.CatalogItem[] ListParents (string Item);
member this.ListParents : string -> ReportService2006.CatalogItem[]
Public Function ListParents (Item As String) As CatalogItem()

パラメーター

Item
String

ファイル名と拡張子を含む、アイテムの完全修飾 URL です。

戻り値

指定したアイテムの親アイテムを表す CatalogItem オブジェクトの配列です。

注釈

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダー (In) TrustedUserHeaderValue
必要なアクセス許可 None

ListParents メソッドは、指定したアイテムの親アイテムの一覧を返します。 ルート ノードに到達するか、または親に対する <xref:Microsoft.SharePoint.SPBasePermissions.ManageAlerts> 権限をユーザーが持たなくなるまで、すべての親が返されます。 アイテムに対する <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> 権限がない場合、このメソッドは空の一覧を返します。

適用対象