次の方法で共有


ReportingService2005.SetModelDrillthroughReports Method

一連のドリルスルー レポートをモデルに関連付けます。

名前空間: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
アセンブリ: ReportService2005 (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
    モデルの完全なパスです。
  • ModelItemID
    モデル ドリルスルー レポートを設定する、モデル内のモデル アイテムの ID です。
  • Reports

解説

ドリルスルー レポートが 1 つも定義されていない場合、動的に生成されたクリックスルー レポートが表示されます。

モデル アイテムでは、ModelDrillthroughReport の各種類のうちの 1 つ (単一インスタンスまたは複数インスタンス) を設定することができます。ModelDrillthroughReport オブジェクトの Type プロパティに、DrillthroughType 列挙子の有効な値 SingleInstance または MultipleInstance を設定することにより、モデル ドリルスルー レポートの種類を指定できます。

SetModelDrillthroughReports が呼び出されると、以前のモデル ドリルスルー レポートは、指定したドリルスルー レポートで置き換えられます。

特定のモデル ドリルスルー レポートを削除するには、SetModelDrillthroughReport メソッドの呼び出し時にエントリを省略します。

Reports パラメータに空の値を指定すると、このエンティティのすべてのモデル ドリルスルー レポートが削除されます。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

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