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

要設定模型鑽研報表之模型中的模型項目識別碼

Reports
ModelDrillthroughReport[]

ModelDrillthroughReport 物件的陣列。

屬性

備註

下表顯示標頭以及有關這項作業的權限資訊。

SOAP 標頭使用方式 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
原生模式所需的許可權 UpdateContentModelReadProperties 上的每個報表 Reports
SharePoint 模式的必要許可權 ViewListItemsModelViewListItems 上的每個報表 Reports

如果未定義任何鑽研報表,使用者會被導向至動態產生的點選連結報表。

鑽研報表可以是單一實例或多個實例。 ,您可以為模型專案設定每一種類型的 ModelDrillthroughReport 。 您可以藉由將 Type 物件的屬性設定 ModelDrillthroughReportDrillthroughType 單一實例或的有效列舉值, Detail 來指定模型鑽研報表的型別 List

SetModelDrillthroughReports 呼叫時,會以提供的一組報表來取代先前的模型鑽研報表。

若要移除特定的模型鑽研報表,請 Reports 在呼叫方法時省略其專案 SetModelDrillthroughReports

您可以為參數提供空白值 Reports ,以移除此實體的所有模型鑽研報表。

適用於