Поделиться через


ReportingService2010.ListModelPerspectives(String) Метод

Определение

Выводит список моделей и перспектив, доступных пользователю.

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

Параметры

Model
String

Полный URL-адрес модели, включая имя файла и расширение SMDL.

Возвращаемое значение

Массив объектов ModelCatalogItem.

Атрибуты

Комментарии

В следующей таблице показаны сведения о заголовках и разрешениях для этой операции.

Использование заголовка SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Необходимые разрешения в собственном режиме ReadProperties
Необходимые разрешения в режиме Интеграции с SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Когда Path указывает на сайт, возвращаются все перспективы каждой модели, доступные пользователю на сайте.

Если Path параметр не указан, выводится список перспектив для каждой модели, ListModelPerspectives для которых у пользователя есть разрешения на чтение свойств в элементе каталога моделей.

Применяется к