Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ReportingService2010.ListModelPerspectives Method (String)

 

Applies To: SQL Server 2016 Preview

Lists models and perspectives available to the user.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelPerspectives",
	RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
	ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)>
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)>
<SoapHeaderAttribute("TrustedUserHeaderValue")>
Public Function ListModelPerspectives (
	Model As String
) As ModelCatalogItem()

Parameters

Model
Type: System.String

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

Return Value

Type: ReportService2010.ModelCatalogItem()

An array of ModelCatalogItem objects.

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

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.

Return to top
Show:
© 2015 Microsoft