Language

ReportingService2006.SetModelDrillthroughReports メソッド

定義

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

public:
 void SetModelDrillthroughReports(System::String ^ Model, System::String ^ ModelItemID, cli::array <ReportService2006::ModelDrillthroughReport ^> ^ Reports);
public void SetModelDrillthroughReports(string Model, string ModelItemID, ReportService2006.ModelDrillthroughReport[] Reports);
member this.SetModelDrillthroughReports : string * string * ReportService2006.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
必要なアクセス許可 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>各報告書の Model および <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>Reports

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

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

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

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

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

適用対象