ReportingService2006.ListModelPerspectives(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列出可供使用者使用的模型與觀點。
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 標頭 | (在) TrustedUserHeaderValue (出局) ServerInfoHeaderValue |
| 必要權限 | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
當 Path 指向一個網站時,使用者在該網站下可存取的每個模型的所有視角都會被回傳。
Path參數不能是空或空。 當 Path 是網站集合資料夾的完全限定網址時, ListModelPerspectives 會回傳使用者在資料夾下方擁有「讀取」權限的所有模型的視角。