다음을 통해 공유


ListModelPerspectives 메서드

Lists models and perspectives available to the user.

네임스페이스:  ReportService2005
어셈블리:  ReportService2005.dll의 ReportService2005

구문

‘선언
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelPerspectives", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function ListModelPerspectives ( _
    Model As String _
) As ModelCatalogItem()
‘사용 방법
Dim instance As ReportingService2005
Dim Model As String
Dim returnValue As ModelCatalogItem()

returnValue = instance.ListModelPerspectives(Model)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelPerspectives", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public ModelCatalogItem[] ListModelPerspectives(
    string Model
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelPerspectives", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
array<ModelCatalogItem^>^ ListModelPerspectives(
    String^ Model
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelPerspectives", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member ListModelPerspectives : 
        Model:string -> ModelCatalogItem[] 
public function ListModelPerspectives(
    Model : String
) : ModelCatalogItem[]

매개 변수

반환 값

형식: array<ReportService2005. . :: . .ModelCatalogItem> [] () [] []
An array of ModelCatalogItem objects.

주의

When Model is not specified, ListModelPerspectives lists the perspectives for each model that the user has Read Properties permissions for on the model catalog item.