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


ReportingService2005.SetModelDrillthroughReports Method

Associates a set of drill-through reports with a model.

Пространство имен: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
Сборка: ReportService2005 (in reportingservice2005.dll)

Синтаксис

'Декларация
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelDrillthroughReports", 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)> _
<SoapHeaderAttribute("BatchHeaderValue")> _
Public Sub SetModelDrillthroughReports ( _
    Model As String, _
    ModelItemID As String, _
    Reports As ModelDrillthroughReport() _
)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelDrillthroughReports", 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)] 
[SoapHeaderAttribute("BatchHeaderValue")] 
public void SetModelDrillthroughReports (
    string Model,
    string ModelItemID,
    ModelDrillthroughReport[] Reports
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelDrillthroughReports", 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)] 
[SoapHeaderAttribute(L"BatchHeaderValue")] 
public:
void SetModelDrillthroughReports (
    String^ Model, 
    String^ ModelItemID, 
    array<ModelDrillthroughReport^>^ Reports
)
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelDrillthroughReports", 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) */ 
/** @attribute SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("BatchHeaderValue") */ 
public void SetModelDrillthroughReports (
    String Model, 
    String ModelItemID, 
    ModelDrillthroughReport[] Reports
)
SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetModelDrillthroughReports", 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) 
SoapHeaderAttribute("BatchHeaderValue") 
public function SetModelDrillthroughReports (
    Model : String, 
    ModelItemID : String, 
    Reports : ModelDrillthroughReport[]
)

Параметры

  • Model
    The full path of the model.
  • ModelItemID
    The ID of the model item in the model for which to set model drill-through reports

Замечания

If there are no drill-through reports defined, the user will be directed to a dynamically generated click-through report.

For a model item, you may set one of each type of ModelDrillthroughReport - a single instance or a multiple instance. You may specify the type of the model drill-through report by setting the Type property of the ModelDrillthroughReport object to a valid DrillthroughType enumerator value of SingleInstance or MultipleInstance.

When SetModelDrillthroughReports is called, the previous model drillthrough reports are replaced with the supplied set of drillthrough reports.

To remove a specific model drillthrough report, omit its entry when calling the SetModelDrillthroughReport method.

Supplying an empty value for the Reports parameter removes all model drillthrough reports for this entity.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

ReportingService2005 Class
ReportingService2005 Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace