Lenguaje

ReportingService2010.ListModelPerspectives(String) Método

Definición

Lista modelos y perspectivas disponibles para el usuario.

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

Parámetros

Model
String

La URL totalmente calificada del modelo incluye el nombre del archivo y la extensión del nombre de archivo .smdl.

Devoluciones

Una matriz de objetos ModelCatalogItem.

Atributos

Comentarios

La siguiente tabla muestra la información sobre cabeceras y permisos sobre esta operación.

Uso de la cabecera SOAP (En) TrustedUserHeaderValue

(Fuera) ServerInfoHeaderValue
Permisos requeridos en modo nativo ReadProperties
Permisos requeridos en el modo SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Cuando Path apunta a un sitio, se devuelven todas las perspectivas de cada modelo accesible para el usuario bajo el sitio.

Cuando Path no se especifica, ListModelPerspectives se listan las perspectivas para cada modelo para las que el usuario tiene permisos de "Propiedades de lectura" sobre el elemento del catálogo de modelos.

Se aplica a