Language

ReportingService2010.SetModelDrillthroughReports メソッド

定義

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

public:
 void SetModelDrillthroughReports(System::String ^ Model, System::String ^ ModelItemID, cli::array <ReportService2010::ModelDrillthroughReport ^> ^ Reports);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetModelDrillthroughReports", 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("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetModelDrillthroughReports(string Model, string ModelItemID, ReportService2010.ModelDrillthroughReport[] Reports);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetModelDrillthroughReports", 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("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.SetModelDrillthroughReports : string * string * ReportService2010.ModelDrillthroughReport[] -> unit
Public Sub SetModelDrillthroughReports (Model As String, ModelItemID As String, Reports As ModelDrillthroughReport())

パラメーター

Model
String

モデルの完全限定URLとファイル名および.smdlの拡張子を含みます。

ModelItemID
String

モデル内のドリルスルーレポートを設定するモデルアイテムのID(ID)

Reports
ModelDrillthroughReport[]

ModelDrillthroughReport オブジェクトの配列。

属性

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダーの使用 (イン) TrustedUserHeaderValue

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 UpdateContent ModelおよびReadPropertiesの各報告書のReports
SharePointモードの必要権限 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> Modelおよび<xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>の各報告書のReports

ドリルスルーレポートが定義されていない場合は、動的に生成されるクリックスルーレポートに誘導されます。

ドリルスルーレポートは単一インスタンスまたは複数インスタンスで行われます。 モデルアイテムごとに各タイプの ModelDrillthroughReport を1つずつ設定できます。 モデルのドリルスルーレポートの種類を指定するには、ModelDrillthroughReportオブジェクトのDrillthroughTypeTypeプロパティを有効な列挙子値Detailに設定し、単一インスタンスまたはListで対応します。

SetModelDrillthroughReportsが呼び出されると、以前のモデルのドリルスルーレポートは提供されたドリルスルーレポートセットに置き換えられます。

特定のモデルドリルスルーレポートを削除するには、SetModelDrillthroughReportsメソッドを呼び出す際にそのエントリをReportsから省略してください。

Reportsパラメータに空の値を設定すれば、このエンティティのモデルドリルスルーレポートをすべて削除できます。

適用対象