ReportingService2010.ListModelPerspectives(String) Method

Definition

Lists models and perspectives available to the user.

public:
 cli::array <ReportService2010::ModelCatalogItem ^> ^ ListModelPerspectives(System::String ^ Model);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelPerspectives", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.ModelCatalogItem[] ListModelPerspectives (string Model);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelPerspectives", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.ListModelPerspectives : string -> ReportService2010.ModelCatalogItem[]
Public Function ListModelPerspectives (Model As String) As ModelCatalogItem()

Parameters

Model
String

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

Returns

An array of ModelCatalogItem objects.

Attributes

Remarks

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

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions ReadProperties
SharePoint Mode 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.

When Path is not specified, ListModelPerspectives lists the perspectives for each model that the user has “Read Properties” permissions for on the model catalog item.

Applies to