ReportingService2010.ListModelPerspectives Method

Lists models and perspectives available to the user.

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


<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Function ListModelPerspectives ( _
    Model As String _
) As ModelCatalogItem()
Dim instance As ReportingService2010 
Dim Model As String 
Dim returnValue As ModelCatalogItem()

returnValue = instance.ListModelPerspectives(Model)
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public ModelCatalogItem[] ListModelPerspectives(
    string Model
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
array<ModelCatalogItem^>^ ListModelPerspectives(
    String^ Model
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member ListModelPerspectives : 
        Model:string -> ModelCatalogItem[] 
public function ListModelPerspectives(
    Model : String
) : ModelCatalogItem[]


  • Model
    Type: System.String
    The fully qualified URL of the model including the file name and .smdl file name extension.

Return Value

Type: array<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


SharePoint Mode Required Permissions


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.

See Also


ReportingService2010 Class

ReportService2010 Namespace