Lingua

ReportingService2010.ListModelPerspectives(String) Metodo

Definizione

Elenca modelli e prospettive disponibili per l'utente.

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

Parametri

Model
String

L'URL completamente qualificato del modello include il nome file e l'estensione del nome file .smdl.

Valori restituiti

Matrice di oggetti ModelCatalogItem.

Attributi

Commenti

La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.

Utilizzo dell'intestazione SOAP (Dentro) TrustedUserHeaderValue

(Fuori) ServerInfoHeaderValue
Permessi richiesti per la modalità nativa ReadProperties
Permessi richiesti in modalità SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Quando Path si punta a un sito, tutte le prospettive di ogni modello accessibili all'utente sotto il sito vengono restituite.

Quando Path non è specificato, ListModelPerspectives elenca le prospettive per ciascun modello per cui l'utente ha permessi di "Proprietà di lettura" sull'elemento del catalogo modello.

Si applica a