ReportingService2006.ListModelPerspectives(String) 方法

定义

列出用户可用的模型和透视。

public:
 cli::array <ReportService2006::ModelCatalogItem ^> ^ ListModelPerspectives(System::String ^ Path);
public ReportService2006.ModelCatalogItem[] ListModelPerspectives (string Path);
member this.ListModelPerspectives : string -> ReportService2006.ModelCatalogItem[]
Public Function ListModelPerspectives (Path As String) As ModelCatalogItem()

参数

Path
String

模型的完全限定 URL,其中包括文件名和 .smdl 文件扩展名。

返回

一个 ModelCatalogItem 对象数组。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
所需的权限 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

当指向某个站点时 Path ,将返回该站点下用户可访问的每个模型的所有透视。

参数 Path 不能为 null 或为空。 当 是网站集文件夹的完全限定 URL 时 PathListModelPerspectives 返回用户直接在该文件夹下具有“读取”权限的所有模型的透视。

适用于