Partager via


Méthode ReportingService2006.ListModelPerspectives

Lists models and perspectives available to the user.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
Public Function ListModelPerspectives ( _
    Path As String _
) As ModelCatalogItem()
'Utilisation
Dim instance As ReportingService2006 
Dim Path As String 
Dim returnValue As ModelCatalogItem()

returnValue = instance.ListModelPerspectives(Path)
public ModelCatalogItem[] ListModelPerspectives(
    string Path
)
public:
array<ModelCatalogItem^>^ ListModelPerspectives(
    String^ Path
)
member ListModelPerspectives : 
        Path:string -> ModelCatalogItem[] 
public function ListModelPerspectives(
    Path : String
) : ModelCatalogItem[]

Paramètres

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

Valeur de retour

Type : array<ReportService2006.ModelCatalogItem[]
An array of ModelCatalogItem objects.

Notes

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

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.

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.

Voir aussi

Référence

ReportingService2006 Classe

Espace de noms ReportService2006