ReportingService2006.ListModelPerspectives(String) Method

Definition

Lists models and perspectives available to the user.

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()

Parameters

Path
String

The fully qualified URL of the model including the file name and .smdl file name extension.

Returns

An array of ModelCatalogItem objects.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

When Path points to a site, then all the perspectives of each model accessible to the user under the site are returned.

The Path parameter cannot be null or empty. When Path is the fully qualified URL of the folder of a site collection, ListModelPerspectives returns the perspectives of all the models that the user has “Read” permissions directly under the folder.

Applies to